We are trying to create a function for breadcrumbs that will show not only the path to the current page, but also to other pages with the same parent...
  • May 13, 2022
  • 0 Comments
Using this piece of code you can show content depending if it’s a child-page or not: <?php global $post; if ( is_page() && $post->post_parent ) : ?> This is...
  • May 11, 2022
  • 0 Comments
I’m looking for a plugin/custom function that removes the parent slug of a child’s page permalink. Something that automatically changes the permalink for child pages. Example: www.blog.com/products/apple becomes www.blog.com/apple...
  • May 10, 2022
  • 0 Comments
I want to be able to have a link like this, site.com/my-custom-type-slug/single-custom-post-name/stats/, where /stats should contain the /my-custom-type-slug page content and when I add content to the /stats page,...
  • May 10, 2022
  • 0 Comments
I’m looking for a snippit/function that will list the child pages of a specific page (I guess by page ID) but not necessarily when you are on that page...
  • May 8, 2022
  • 0 Comments