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 25324

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
The "REDESIGN YOURSELF" text on the linked website appears to be the blog's tagline - a short sentence or catch phrase describing the blog. You can change your tagline via the field provided in the ad …
answered Jun 16 '14 by bosco
1
vote
) ) { $link_container_class = 'single'; } ?> <nav class="post-nav clear clearfix <?php echo $link_container_class; ?>"> <ul><?php echo implode($links); ?> </ul> </nav><?php } ?> …
answered Dec 4 '15 by bosco
2
votes
Make sure that your registration arguments for your post types have the public argument set to true or, alternately, publicly_queryable set to true and exclude_from_search set to false. Then, modify …
answered Jan 4 '13 by bosco
2
votes
echo is a PHP language construct which pushes values to the output buffer. It does not have a return value, so concatenating it with a string would cause everything after the echo to immediately be … sent to the output buffer, and everything prior to echo to compose the concatenated string. This is such a misuse of echo that PHP itself doesn't actually allow it - if you had WordPress debugging …
answered Mar 24 '17 by bosco
3
votes
Problem The Short Version The problem isn't how you're using those scripts or where you're placing them - it's how the authors of those scripts wrote them. The Long Version Your "superfish" script …
answered Jul 20 '16 by bosco
1
vote
: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule … every request handled by WordPress. For example: RewriteRule ^index\.php$ - [L,QSD] Any use of a ? in a RewriteRule directive's substitution string (without the append querystring flag). Specifying …
answered Sep 27 '16 by bosco
2
votes
The direct answer to the question "Is there a way to get 3+ dimensional array from a single MySql command" would be yes, sort of - WordPress routinely stores and retrieves multidimensional data from M …
answered May 4 '16 by bosco
1
vote
As discussed in the comments, instead of using the ID query argument to get each 'calp_event'-type post individually, you can pass an array of IDs to post__in in order to grab them all at once, thus r …
answered Mar 30 '17 by bosco
7
votes
Problem "Serialization" is the act of turning a data-object into a string-representation. jQuery automatically serializes the data property before sending an AJAX request. The server then deserialize …
answered Apr 28 '16 by bosco
2
votes
site. Would I somehow embed my PHP code inside WordPress pages? A common approach would be to port your data into the WordPress database using WordPress's Custom Post Types and Custom Taxonomies …
answered Dec 8 '15 by bosco
1
vote
( $related_query->have_posts() && $related_query->current_post < 5 ) { $related_query->the_post(); ?> <!-- Related post markup --> <?php } } …
answered Jul 21 '16 by bosco
1
vote
TLDR; Separate your view and business logic, or don't - WordPress doesn't care either way. Additional template engines aren't necessary. Start small developing with vanilla PHP & WordPress; just … WordPress any more than in PHP itself. The line determining which code qualifies for which role is usually apparent in the WordPress APIs that the code leverages - views tend to only present data and make use …
answered Sep 4 '18 by bosco
2
votes
blog's "Reading" settings are set to display posts on the home page. c) create wp-content/themes/page-{PageSlug}.php (replacing {PageSlug} with the real slug of the "landing page" as it exists as a … slug of {PageSlug}. d) create wp-content/themes/{CustomTemplateName}.php and utilize custom page templates, which is beyond the scope of my solution. As a basis for your new template file …
answered Jan 7 '13 by bosco
0
votes
The easiest way to accomplish this is to conditionally call wp_no_robots() (or echo your custom <meta> element) in a wp_head action hook. This has the added benefit of being modular - you could throw …
answered Mar 28 '17 by bosco
8
votes
Background This issue revolves around the removal of empty <span></span> elements in TinyMCE when saving a post or switching between between the Visual and Text editor tabs. The problem is inherent t …
answered Jun 2 '14 by bosco

15 30 50 per page