Jomez
Forum Replies Created
-
Forum: Plugins
In reply to: [PS Sub-pages] custom postYour hint to use a custom-page instead of an archive-page was helpfull.
This works. Now the custom page type behaves like a page and can be placed as a sub-page.
Thank you.Forum: Plugins
In reply to: [PS Sub-pages] custom postOkay, I just realize jou gave me a hint to use a custom page in stead of an archive, to loop the custom posts. I will try this and let you know the result.
ThanksForum: Plugins
In reply to: [PS Sub-pages] custom postThe main page is ‘about us’.
I would like to add the custom post-type ‘our team’ as a subpage.
I have no idea how to achieve this.Forum: Plugins
In reply to: [PS Sub-pages] parent as titleyes
Forum: Plugins
In reply to: [PS Sub-pages] parent as titleFound the answer:
$children = get_pages(‘child_of=’.$post->ID);
if( count( $children ) > 0 ) {
echo ‘ID).'”>’.get_the_title($post->ID).’‘;
} elseif(intval($post->post_parent)>0){
$post = get_post($post->post_parent);
echo ‘ID).'”>’.get_the_title($post->ID).’‘;
}Forum: Themes and Templates
In reply to: [Boilerplate] adding javascriptOkay; I just found out I have to rename script-starter.js to script.js.
Now it works.
ThanksForum: Plugins
In reply to: [Squelch Tabs and Accordions Shortcodes] unordered listThank you for your reply. I found out that the problem was in the boilerplate I used for the theme.
Sorry for the unjustified grumble above.
It’s a nice plugin