Forums

How to have a preview with "more" (16 posts)

  1. pbmansioncom
    Member
    Posted 4 years ago #

    when you go to my site and click on a subcategory you get a normal looking summary of and entry. What i don't like is that you have to click on the title to get to the main full text article. Many people are just seeing that and are like well thats it? And they leave... I was wondering if at the bottom of the summary (preview i guess you can call it) where it have "..." if that can be change to a link to the full article. Or can there be a link saying "read more" or something?

    Let me know!

    Thank you!

    blog= http://www.pbmansion.com/blog

  2. moshu
    Member
    Posted 4 years ago #

    summary (preview i guess you can call it)
    It is called excerpt in WP lingo :)
    More: Template_Tags/the_excerpt

    A possible workaround:
    http://wordpress.org/support/topic/82361?replies=2#post-422625

  3. pbmansioncom
    Member
    Posted 4 years ago #

    I don't understand how to do this. I just want where there are summarys with ... to have read more or something. Can you help me out with a step by step maybe?

  4. toddith
    Member
    Posted 4 years ago #

    When writing the article put <!--more--> where you want a link to read the rest.

  5. moshu
    Member
    Posted 4 years ago #

    What is so complicated? You can read about the Template_Hierarchy to find out which template file is displaying your category archives/listings.
    Most likely archive.php (if there is no category.php in the theme).
    Replace the_excerpt line with the code given at the link above.

    And for future reference: Want to modify and customize your blog/theme? Learn the basics of HTML/CSS. If you don't understand you need to learn. There is no other way.

  6. pbmansioncom
    Member
    Posted 4 years ago #

    I am so lost. I have never worked with wordpress code editing before. I understand the <!--more--> function and all but not where to place it. These are the theme files.

    'BlueBlack' theme files

    * Stylesheet
    * Popup Comments
    * Archives
    * Page Template
    * functions.php
    * Single Post
    * searchform.php
    * 404 Template
    * Sidebar
    * Archives
    * Main Index Template
    * Comments
    * Search Results
    * Footer
    * Links
    * Header
    * sidebar2.php

  7. pbmansioncom
    Member
    Posted 4 years ago #

    Anybody have an idea?

  8. pbmansioncom
    Member
    Posted 4 years ago #

    I'm inserting <!--more--> into my posts even and it is doing nothing. .....

  9. pbmansioncom
    Member
    Posted 4 years ago #

    Please can somebody help me!

  10. omgitztrey
    Member
    Posted 4 years ago #

    More had to be placed in between the content... for instance

    Image
    I love wordpress
    <!--more-->
    This is why i love wordpress

    then is will display on the site as

    Image
    I love wordpress

    Read more...

  11. pbmansioncom
    Member
    Posted 4 years ago #

    No but see if you go to like... http://pbmansion.com/blog/category/paintball/gear/

    there is not a read more link or anything. You can only click the title to go to the full article. What can i do about this?

  12. moshu
    Member
    Posted 4 years ago #

    Because that template is using not the MORE but the_excerpt tag in it.
    Check the archive.php template file. Warning: not the archives.php file (with plural S at the end!) but the "singular".
    We are back to my very first post here :)

  13. pbmansioncom
    Member
    Posted 4 years ago #

    I do not have archive.php. Why is nothing i am doing working? All i want is something that will be a link besides the title.

    * Stylesheet
    * 404 Template
    * Popup Comments
    * Archives
    * Archives
    * functions.php
    * Comments
    * Footer
    * Header
    * Main Index Template
    * Links
    * Page Template
    * searchform.php
    * Search Results
    * Sidebar
    * sidebar2.php
    * Single Post

  14. moshu
    Member
    Posted 4 years ago #

    I do not have archive.php.
    and
    * Archives
    * Archives

    Well, one of those should be!

  15. pbmansioncom
    Member
    Posted 4 years ago #

    How do i know which would work? And what do i do with it?

  16. pbmansioncom
    Member
    Posted 4 years ago #

    I'm still lost

Topic Closed

This topic has been closed to new replies.

About this Topic