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 115005

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
What you want is very simple but also takes a lot of work to make it work as you expected. The first start will be to create a base page. This page will be responsible for all of the requests. For e …
answered Nov 9 '17 by Drupalizeme
1
vote
What you can do is: $string = get_field( 'your_field_name' ); if (strpos($string , 'France') !== false) { // do your thing } You can use the stripos for case-insensitive.
answered Dec 13 '17 by Drupalizeme
0
votes
You can use: function stock_agenda() { $days = json_decode(file_get_contents('json_file')); unset($days[0]); $include_variable = ''; foreach($days as $day){ $include_varia …
answered Nov 10 '17 by Drupalizeme
0
votes
This is a very general Question and cannot be answered easily. The best place to start learning about something is by making your hand dirty. As a general rule that I found it relatively easy, first …
answered Sep 15 '17 by Drupalizeme
2
votes
The action in the Ajax call must be the name of the action on the add_action without the wp_ajax_nopriv.* for example: var data = { action: 'fmsapi_refresh_hybrid_schedule', year: '2017', event …
answered Nov 10 '17 by Drupalizeme
2
votes
'%d' modifier is for integers, not decimals use the %f (floats or the %s strings) and it would save it correctly.
answered Nov 2 '17 by Drupalizeme
2
votes
This is because when a checkbox isn't checked it didn't send to the server. This is why the POST array doesn't have the upo_enable index. You can, however, check if the value is empty or not: $upo_e …
answered Dec 4 '17 by Drupalizeme
1
vote
I have created an example of how you can achive what you are after: You can use it like this : [itable data="inv;coin;coinamount;currency#inv;coin;coinamount;currency"] function itable_shortc …
answered Dec 7 '17 by Drupalizeme
0
votes
This will do it: RewriteEngine on RewriteRule ^test/test-post/index.shtml$ custom/custom.php?cat=1 [L,R] The [L] flag causes mod_rewrite to stop processing the rule set. Use of the [R] flag causes …
answered Nov 20 '17 by Drupalizeme
0
votes
You have an error here echo '<td>' . $tab4_arr->username; .'</td>'; Remove the ;
answered Nov 17 '17 by Drupalizeme
1
vote
You can do it in different ways: Json Encode This is my favorite way of passing data/settings/etc to the front-end. PHP $obj=array( 'content' => $post->post_content, 'title' => esc_html …
answered Nov 22 '17 by Drupalizeme
0
votes
This should have worked (the part of the sprintf at least as I don't have access to the original code. Try give a higher number: add_filter( 'generate_featured_image_output' , 'remove_image_title_ar …
answered Nov 6 '17 by Drupalizeme
1
vote
Yes, this is actually what Wordpress does automatically for you. Navigate to Settings>Permalinks and add your custom structure you want like: /%postname%-%post_id%/
answered Dec 7 '17 by Drupalizeme
1
vote
You could use the MONTHNAME(dato) on your select Like $rows = $wpdb->get_results( "SELECT MONTHNAME(dato) as month_name, avg(fiske_vaegt) as fiske_vaegt FROM `wp_registreringer` WHERE MONTH( …
answered Nov 2 '17 by Drupalizeme
0
votes
You can use the following code and should work, if not we should see the server configuration to see why. Also, we can check the curl_error for hints. $curl = curl_init(); $page_id = 4322; $wp_api_ur …
answered Dec 4 '17 by Drupalizeme

15 30 50 per page