Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 31449

For questions about the server-side programming language that the WordPress core, plugins and themes are written in. Questions about using PHP outside a WordPress context are off-topic but might be asked on Stack Overflow.

1
vote
your main plugin file or you can put the file inside of your plugin folder and include that file in the plugins main file. Or if you're working with a theme, you can put the code directly in functions.php or create the php file inside your theme folder and include that file in functions.php …
answered Apr 8 '17 by Abdul Awal
3
votes
File name should be admin-ajax.php This file handles all the ajax requests. So, you should never remove this file. Many features will stop working like autosave and many other that uses ajax if you …
answered Apr 6 '17 by Abdul Awal
2
votes
Here is what you need to use for the expected result: <p> Today's Views: <span> <?php echo wp_statistics_visit('today'); ?> </span></p><br><br> <p>Yesterday's Views: <span> <?php echo … wp_statistics_visit('yesterday'); ?> </span></p><br><br> <p>All times Views: <span> <?php echo wp_statistics_visit('total'); ?> </span></p><br><br> …
answered May 12 '17 by Abdul Awal
0
votes
Here you go... <?php $per_page = 4; $post_query = new WP_Query('post_type=post&posts_per_page='.$per_page); $total_found_posts = $post_query->found_posts; if($total_found_posts >= $per_page …
answered Apr 15 '17 by Abdul Awal
1
vote
Please try this: Add the following in your theme's functions.php add_action( 'init', 'tnc_aj_scripts' ); function tnc_aj_scripts() { wp_register_script( "ajax_anmeldung_script", get_template_dir …
answered Mar 25 '17 by Abdul Awal
1
vote
Go to Appearance > Menus & create a new menu called main-menu That should fix the problem.
answered Jan 16 '14 by Abdul Awal