I don't want to display subpages excerpt on parent page…

  • tvh

    #12838

    Great Syahir – that answered another nagging question I couldn’t work out the answer to!

    Looking forward to the next update!

    tvh

    #12839

    I tried changing the code, but child pages still show the parent featured image.

    What else I have done wrong?

    dabrowski

    #12840

    Worked for us. Thanks very much, Sir. I would like to compliment you on your theme, support, and knowledge.

    findelfisch

    #12841

    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:

    parent

    child 1

    child 2

    child …

    in the child page?

    The functions.php (see above) for the child theme works fine, but it shows the main navigation:

    parent parent … parent

    function graphene_child_pages_order(){
    $args = array(
    'child_of' => $post->ID,
    'sort_column' => 'menu_order',
    'hierarchical' => 0,
    'parent' => $post->ID,
    'post_type' => 'page',
    'post_status' => 'publish'
    );
    return $args;
    }
    add_filter('graphene_child_pages_args', 'graphene_child_pages_order');

    My second question:

    The excerpt lost all <p> and styles. Is it possible to change this?

    Many thanks for your support!

    Admin

    Syahir Hakim

    #12842

    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.

    bruley

    #12843

    Can I display child pages only on certain page(s)? Or disable it on the home page? I really like the feature but it is distracting on my home page, which lists every single page… I’m using Graphene 1.2.1

    Thanks!

Viewing 6 posts - 11 through 16 (of 16 total)

  • 1
  • 2
  • You must be logged in to reply to this topic.