WordPress.org

Ready to get started?Download WordPress

Forums

zBench
[resolved] use of Insert More with zbench (6 posts)

  1. dfl1955
    Member
    Posted 1 year ago #

    When I use the Insert More button, or the insert the comment code, I find it has no effect in the preview or post publication. When I do a page source on the published page, I can see neither the comment nor any script or HRML that might make it work i.e. it disappears.

    Is this a zbench problem?

  2. paulwpxp
    Font hero
    Posted 1 year ago #

    When I do a page source on the published page, ..

    You mean "Post", right ?

    "Page" doesn't have an archive or index listing page. It will just be that page with all content in it, no need for "read more" thing.

    for "Post", I looked into the template and could see that it checks for theme settings to determine if it would be using the_content() or the_excerpt().

    So if not already yet, you should check on your theme settings page.

  3. dfl1955
    Member
    Posted 1 year ago #

    Thanks.

    By 'page source', I mean that I used the Firefox Browser's "View Page Source" on the HTML page. (NB Not HRML). I'll try and dive into the code as you suggest.

  4. paulwpxp
    Font hero
    Posted 1 year ago #

    It's all configurable under theme setting page, no need to touch the template file at all.

  5. dfl1955
    Member
    Posted 1 year ago #

    I have looked in ./wp-content/themese/zbench/wp-content

    zbench seems to install some custom functions in the functions.php,

    archive.php, and index.php seem to call them.

    If I set the Excerpt? switch, as suggested by paulwpxp (twice) above in Settings : Theme Options : Appearance then the front page is beautifully summarised, with hyperlink buttons with the text mentioned in the php filters.

    Do you reckon that's how it's meant to be working?

    I reckon I should have read http://codex.wordpress.org/Excerpt more carefully.

    Using buttons influences where the summary starts and stops.

  6. paulwpxp
    Font hero
    Posted 1 year ago #

    If you want to set the cutting point by yourself with more tag, go with the default, and theme will use the_content().

    If you don't want to waste your time putting in the more tag, under theme setting choose on excerpt option and theme will use the_excerpt().

    With the_excerpt() you have the option to craft up your own version of excerpt and put it in the excerpt metabox. If not, the default first 55 words from the post's content will be used. This default 55 words could be changed (filtered) to other number based on theme, your theme is using 40.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic