Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #5358

    Hi there,

    I’ve read through the ‘read more’ post with interest, however I have a slightly different request.

    I’d like to link the ‘read more’ button at the bottom of a portfolio item to a specific news story in each case. Not to the unique page but to automatically scroll down the main news page. I’ve achieved this on a php / html site before by use of # tags. Is there something similar I can do here?

    Page for reference:

    Many thanks.



    I think this should be possible but you need php skills and some time. I can give you hints only.

    I’d use the_ID function: to apply an unique id to the blog, archive or portfolio entries. You need to implement the id in template_blog.php and/or archive.php. If you’d like to scroll to certain portfolio items you can also modify template_portfolio.php.

    Then you can follow the instructions here: how to build a custom read more link. Of course you can change the custom field name (from ‘pdffile’ to something else) and the link caption.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Read more to link to news posts’ is closed to new replies.