Change portfolio 'read more' text

pending (9 posts) (4 voices)

  1. matwil74
    Member

    Would like to change the portfolio button read more text to some other text. Where to I change this in InFocus?

    Posted 6 months ago #
  2. Elliott
    Support

    Hello matwil74,

    When editing your portfolio item you can disable the read more button and insert your own into the excerpt field, http://mysitemyway.com/docs/index.php?title=Using_the_Portfolio#Excerpt_Text.

    Posted 6 months ago #
  3. matwil74
    Member

    Hi Elliot.

    It's a lot of extra work for me. I would rather have all portfolio items show the same 'view item' button that links to the post. I know in Elegance I was able to change the default 'Read More' text in framework.php, but I can't find the same or similar line in InFocus. Thanks.

    Posted 6 months ago #
  4. Ruderic
    Support

    Hello,

    Go to the theme folder and open the file "lib/shortcodes/15-portfolio.php". In lines #286 and #608 you will find this code:

    __( 'Read More', MYSITE_TEXTDOMAIN )

    Replace that caption with your own one, and let us know the results.

    Posted 6 months ago #
  5. matwil74
    Member

    That worked. Thanks!

    Posted 6 months ago #
  6. JLFH
    Member

    Hi I have to related questions:
    How can I do the same in a multilanguaje site? "Read more" "Leer mas"
    How can I mantain the language the user is seeing the page, cause when the user clics "read more" languaje returns to default.
    http://www.pvrtours.com/our-town/sights/beaches
    The plugin I'm using is qTranslate

    PVRTours.com

    Posted 6 months ago #
  7. JLFH
    Member

    I tried to insert this in the portfolio excerpt:

    [:en]undeveloped beach just North of the mouth of the Mismaloya river. The beach lies close to Los Arcos Marine Natural Area and can be used for access to the park from shore
    [button link="http://www.pvrtours.com/portfolio/las-gemelas-beach/gallery/beaches/" size="small" variation="teal" bgColor="#00d4e3"]Read More[/button]
    [:es]playa sin desarrollar, justo al norte de la desembocadura del río Mismaloya. La playa se encuentra cerca de Los Arcos Área Natural Marino y se puede utilizar para el acceso al parque de la costa.
    [button link="http://www.pvrtours.com/portfolio/las-gemelas-beach/gallery/beaches/?lang=es" size="small" variation="teal" bgColor="#00d4e3"]Leer mas[/button]

    with this result:

    http://www.pvrtours.com/our-town/sights/beaches/?lang=es

    Posted 6 months ago #
  8. JLFH
    Member

    I'm doing that cause when I click read more, resets qTranslate to default languaje

    Posted 6 months ago #
  9. Elliott
    Support

    Did you make a translation of that portfolio post?

    Posted 6 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme