首页
Algorithm
登录
版块公告:
Algorithm
最新
javascript - Enqueue CSS and Script only if needeed
How can I enqueue a CSS code only on the pages which use that CSS?Usually it's quite easy to know if a particular C
javascriptEnqueue CSS and Script only if needeed
admin
1月前
13
0
categories - How to display wp_list_categories on div instead of li?
Does anyone know how to display the wp_list_categories() on a div instead of the li?I basically want to wrap main catego
categoriesHow to display wplistcategories on div instead of li
admin
1月前
12
0
Restrict access to admin but allow admin_post hook
I'm using this hook to allow only admin roles access dashboardadd_action( 'admin_init', function() {if (
Restrict access to admin but allow adminpost hook
admin
1月前
13
0
How to addembed an author into REST data from a custom post type?
We have a couple of post types which don't directly support authors. Instead, we have custom interfaces for choosin
How to addembed an author into REST data from a custom post type
admin
1月前
12
0
Add custom TinyMCE 4 Button: Is it mandatory to have one JS per button?
I'm editing a Wordpress Plugin, trying to add another button. I had a look to this question (Add custom TinyMCE 4 B
Add custom TinyMCE 4 Button Is it mandatory to have one JS per button
admin
1月前
11
0
users - How do I tag every author in their posts that they have made previously
So here is the situation, I have a wordpress blog site that is a few years old, and every user had a different account t
usersHow do I tag every author in their posts that they have made previously
admin
1月前
8
0
ajax - Updating a checkbox value to database for specific row in table
I have written a custom plugin for people to sign up to a course. The data is submitted in a front end form and stored i
ajaxUpdating a checkbox value to database for specific row in table
admin
1月前
12
0
php - WordPress custom slug (endpoint) and compare all links
I work on the one i18n function. It will work with subdir. For example: eghello-worldenFor this I'm support EP_AL
phpWordPress custom slug (endpoint) and compare all links
admin
1月前
5
0
WooCommerce - Display nested list of all subcategories on archive-product.php
When a user clicks on a product category from the WooCommerce shop page, instead of the default, I need it to look like
WooCommerceDisplay nested list of all subcategories on archiveproductphp
admin
1月前
9
0
wp query - Sort posts on custom field AND after that sort on date?
I'm having trouble to understand customizing the new WP_query. I've found the script below, partly, here in or
wp querySort posts on custom field AND after that sort on date
admin
1月前
9
0
custom post types - Adding a Section for Visitors
I habe a basic dog care website where I would like to have a lost dog section where visitors can post about their lost d
custom post typesAdding a Section for Visitors
admin
1月前
9
0
directory - Can wordpress theme folder name be changed freely and nothing technically happens
Can the wordpress theme folder be renamed any time freely and everything works fine after that ,themesoldthemenamethem
directoryCan wordpress theme folder name be changed freely and nothing technically happens
admin
1月前
7
0
functions - Template Loop - add switch case php
My plugin template is currently as follows:if ( $query->have_posts() ){?><ul id="list-con"><?ph
functionsTemplate Loopadd switch case php
admin
1月前
8
0
functions - Add_filter when value is no variable?
Let's say I have an function like:function cc_get_content_preview() {return apply_filters( 'cc_get_content_pre
functionsAddfilter when value is no variable
admin
1月前
4
0
wp kses - Typical wp_kses $allowed
I have a custom post textbox that I want to sanitize using wp_kses before I update my post meta.I was looking for exampl
wp ksesTypical wpkses allowed
admin
1月前
4
0
error log cluttered with undefined DB_USER wp-adminsetup-config.php
I have an up and running WordPress site for some time. Lately, I noticed somebody or something is making requests to www
error log cluttered with undefined DBUSER wpadminsetupconfigphp
admin
1月前
9
0
customization - Figuring out how to create "Option Pages" in WordPress admin
I'm having a static front page, in which I plan to have the little bits like text, buttons, and other plain stuff e
customizationFiguring out how to create quotOption Pagesquot in WordPress admin
admin
1月前
9
0
taxonomy - Can lots of tags affect performance?
I'm working on a plugin that will auto-tag my posts (it's for a very specific, single project only). It will a
taxonomyCan lots of tags affect performance
admin
1月前
5
0
customization - Disable "-mp4-image" screenshots from appearing in Media?
If I upload a video in the mp4 format Wordpress automatically creates an image called Filename-mp4-image.jpg which is a
customizationDisable quotmp4imagequot screenshots from appearing in Media
admin
1月前
9
0
mysql - How to get data from WordPress site sql file
I have an SQL file of my WordPress site but I lost my project files. So if I import the sql into my DB then can I run th
mysqlHow to get data from WordPress site sql file
admin
1月前
8
0
«
1 ...
22
23
24
25
26
27
28
...100
»
Algorithm
Algorithm