Reputation
806
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
6 19
Newest
 Yearling
Impact
~57k people reached

  • 0 posts edited
  • 0 helpful flags
  • 65 votes cast
Nov
19
comment Function inside shortcode doesn't display WP_Query properly - custom post type
Output your $query to see if it contains anything or not. So you will know if it is the query, or the code after the query. After that, I'm not sure I could help you, besides we shouldn't use this page for discussion. I would need a copy or access to your code to check it myself :)
Nov
18
comment Function inside shortcode doesn't display WP_Query properly - custom post type
Also try to avoid using WP function in your loop, try to echo $post->ID, $post->post_title to access objects content. As you're inside the while loop, it means the query have results. Also, do not use $query as your query variable name, use "namespaced" names, like $myqueryor whatever, to avoid any name collision.
Nov
18
comment Function inside shortcode doesn't display WP_Query properly - custom post type
I think single =="0"will be evaluated as single == false. Try first to clarify your code by using a litteral value like single="single" so your condition will become mor readable.
Nov
18
comment Function inside shortcode doesn't display WP_Query properly - custom post type
So it is the 'else" clause of your code that cause trouble ? (I find funny that you use a single = true as default). Also, there is a typo in [tabs title="" type""] : it misses the = operator for the type.
Nov
17
comment Function inside shortcode doesn't display WP_Query properly - custom post type
Don't know if it helps but the shortcode API codex.wordpress.org/Shortcode_API#Output clearly that you have to return content and not use echo
Nov
17
answered Stop WordPress automatically adding <br> tags to post content
Oct
15
awarded  Yearling
Sep
9
awarded  Notable Question
Aug
17
comment Cannot get add_feed to work
Thanks ! Good thing to have an account so you can contribute to the site now :)
May
10
awarded  Popular Question
Mar
4
awarded  Popular Question
Feb
12
awarded  Notable Question
Oct
15
awarded  Yearling
Sep
24
awarded  Autobiographer
Sep
15
comment Deactivate plugin for a specific user group
Thank you very much. I did not know about the function to deactivate a plugin. Let me test that soon and come back here to answer the question and report results.
Aug
27
comment Deactivate plugin for a specific user group
Would love to have your insights.
Aug
27
comment Deactivate plugin for a specific user group
Maybe you should place your comment as an answer, you answered it (negatively, but yet).
Aug
26
comment Deactivate plugin for a specific user group
Thank you for your response. I was hoping to avoid 'unhooking' all features from the plugin (in case they add more in a update), but... You suggest a way to "force login earlier" ? Is that even possible ?
Aug
26
awarded  Curious
Aug
25
asked Deactivate plugin for a specific user group