I don't want to display subpages excerpt on parent page…
Hi, I am new with WordPress and the wounderful graphene theme. The support is very helpful and kind!
My first question:
Is it possible to sort a drop down menu from the parent page shown in the navigation bar? Like this:
in the child page?
The functions.php (see above) for the child theme works fine, but it shows the main navigation:
parent parent … parent
$args = array(
'child_of' => $post->ID,
'sort_column' => 'menu_order',
'hierarchical' => 0,
'parent' => $post->ID,
'post_type' => 'page',
'post_status' => 'publish'
My second question:
The excerpt lost all <p> and styles. Is it possible to change this?
Many thanks for your support!Admin
tvh: looks like it’s working fine for you now.
dabrowski: you’re welcome 🙂
findelfisch: not quite sure what you’re trying to achieve here. If you’re just trying to arrange the order of the menu items in the navigation menu, try using the Custom Menu function instead in Appearance > Menus.
Regarding the excerpt, it’s standard WordPress behaviour that it strips out all of the html tags. You can look for some plugin that allows html tags instead.
Viewing 6 posts - 11 through 16 (of 16 total)
- You must be logged in to reply to this topic.