Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
5
Newest
 Supporter
Impact
~253 people reached

  • 0 posts edited
  • 0 helpful flags
  • 1 vote cast
Nov
20
comment Error after saving or updating post
Now, but I cannot find where it is coming from, so for now I ended up putting a @ before the faulty line
Oct
29
comment Find empty pages or pages which have less than x characters
@birgire What a great answer, thank you!!!
Oct
9
comment Cannot edit or add new page after migration, content area disappeared
Actually I rejoiced too fast, it added the content area back but I still add "Submit for review" instead of "Publish" issue, I add to delete the record 0 in wp_posts and reset the auto increment which disappeared for some reason during the migration. Anyway, now it's working :)
Oct
9
comment Cannot edit or add new page after migration, content area disappeared
it's working, thanks!
Sep
30
comment How to add programmatically all pages and children to backend menu
oh sorry, thank you :). I'm trying to get all the pages but somehow it just show me some, what can of function should I use? I'm using this now: function get_all_pages(){ $args = array( 'post_type' => 'page' ); $post_query = new WP_Query($args); if($post_query->have_posts() ) { while($post_query->have_posts() ) { $post = $post_query->the_post(); var_dump($post); } } }
Sep
30
comment How to add programmatically all pages and children to backend menu
Thank you but that's not what I want, I want to be able use the backend interface, so I can add other links to it in a graphical way, and later non programmers can also rearrange the menu items as needed. I know there is a box called "select all" but it doesn't keep the hierarchy, and you have to do it for every page of the pagination. I would like the same, but for every page of my website while keeping the hierarchy.