Reputation
243
Top tag
Next privilege 250 Rep.
View close votes
Badges
1 6 16
Impact
~31k people reached

Sep
20
accepted Custom post type - order field
Sep
19
comment Custom post type - order field
Nevermind. Setting hierarchical to false gets rid of it.
Sep
19
comment Custom post type - order field
using page-attributes presents both the order field and the parent field. How do I get rid of the parent field?
Sep
18
asked Custom post type - order field
Sep
13
accepted Remove link on full-size images
Sep
9
comment Remove link on full-size images
To not have the image linked by default
Sep
9
comment Remove link on full-size images
Is there a way to do this without requiring an extra step for users using the editor?
Sep
9
comment Remove link on full-size images
@Otto No code as of yet. There didn't appear to be a simple and obvious built-in approach, so that's why I'm asking. Any image you insert in a post/page using the editor exhibits this behavior. The theme doesn't matter for this question.
Sep
7
asked Remove link on full-size images
Sep
6
accepted altering search terms
Sep
6
comment altering search terms
As a workaround, I put a if(!empty($wp_query->query_var['s'])){} before have_posts() in the search.php template.
Sep
6
comment altering search terms
It works, but if the new query var ends up being an empty string, all posts and pages are returned. How can I prevent that?
Sep
5
comment using new WP_Query in save_post function alters $post
@StephenHarris how would I retrieve the post ID withing the have_posts() while loop without touching $post?
Sep
5
asked altering search terms
Sep
5
awarded  Editor
Sep
5
revised using new WP_Query in save_post function alters $post
added 44 characters in body
Sep
4
awarded  Teacher
Sep
4
accepted using new WP_Query in save_post function alters $post
Sep
4
answered using new WP_Query in save_post function alters $post
Sep
4
awarded  Commentator