WordPress.org

Ready to get started?Download WordPress

Forums

Graphene
[resolved] Page Summaries (6 posts)

  1. dayrinni
    Member
    Posted 1 year ago #

    Hello!

    The theme supports the functionality of having a list of pages under a parent that contents some of the text on the subpage. So if a parent page had 3 subpages, these subpages and a portion of their contents (a summary) would be listed if the parent page was viewed. Then the "View Page >>" button could be pushed to travel to the subpage.

    It seems the theme simply takes the text straight from these subpages. I was wondering if there was a way to control what is displayed in the summary text on the parent parents? Maybe a use of a special tag that I can put in the subpage ([summary]text here [/summary]) or something?

    Thanks.

    http://wordpress.org/extend/themes/graphene/

  2. Graphene has its own support forum

    http://forum.graphene-theme.com/graphene-wordpress-theme/

    I've had rapid and useful responses when I've asked questions there.

  3. kjodle
    Member
    Posted 1 year ago #

    Graphene uses the default excerpt. If you would like to display something else, enable "Custom Excerpts" in screen options on your post edit page and enter whatever you would like in the custom excerpt box.

  4. dayrinni
    Member
    Posted 1 year ago #

    Hi

    Thanks for your replies.

    @kjodle
    I edited a subpage and clicked Screen Options but I didn't see any check box for Custom Excerpts. I saw these options:

    Quick Page/Post Redirect
    Graphene page-specific options
    Custom Fields
    Discussion Comments
    Slug
    Author
    Revisions
    Sharing
    Page Attributes
    Featured Image
    Screen Layout
    ..Number of Columns: 1 2

    @Les Bessant
    Thanks! I'll definitely check this out.

  5. kjodle
    Member
    Posted 1 year ago #

    @dayrinni:

    My bad, I was thinking of posts.

    WordPress doesn't support excerpts for pages normally, but you can create a child theme and then add this code to your child theme's functions file:

    add_action ('init','theme_init');
    function theme_init()
    {
      add_post_type_support('page','excerpt');
    }

    That will add excerpt support for pages.

  6. dayrinni
    Member
    Posted 1 year ago #

    This worked great kjodle! I am going to try and make a RFE on the main support forums to have this as an option for the theme.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags