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 151661

BB-Code-like mechanism by which strings enclosed in square brackets can serve as shorthand for longer and more complicated strings. These strings are processed by callback handlers, usually on page load, which replace the bracket enclosed string with the output from the callback handler.

0
votes
1answer
I am trying to write a shortcode, which includes 'get_posts' in order to get the blog posts data and then display the 3 most recent on the page. This code works within the template. However, when I … put it into a shortcode, within output buffering (ob_start), it fails to retrieve the posts. Instead, it takes the current page itself and loops through that instead (in this case the homepage). Any …
asked Oct 25 '18 by AlmostPitt
0
votes
I figured it out! Thanks @André Kelling for your help! So, I made three sections of code and put them inside of each other in the shortcodes within the WP editor. Here is the PHP add_shortcode(' …
answered Feb 25 by AlmostPitt
0
votes
2answers
TLDR; How can I run a shortcode with multiple shortcodes inside of it? I'm trying to run a shortcode with multiple shortcodes inside of it. I can successfully run a shortcode with one shortcode … to add a second div within the outside shortcode and add a second shortcode within that. My idea was something like: add_shortcode('outside_shortcode', function($attr, $content = null …
asked Feb 25 by AlmostPitt