• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Parenthesis read more

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Parenthesis read more

This topic is: not resolved

Tagged: read more

  • This topic has 16 replies, 3 voices, and was last updated 12 years, 11 months ago by walterbmw.
Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • August 15, 2013 at 11:57 am #56610
    walterbmw
    Member

    Good morning
    my site is "upsamendrisiotto.ch".
    Under the bar Call to action you can see the word [Continua...], in Italian is a read more.
    I would like to remove the parenthesis, but I can not find anything.
    I also tried with your instructions here:

    Post Excerpts

    in functions.php but does not work here.
    I tried to change the details content archive in genesis settings but nothing.
    maybe it's really a stupid thing, it is the first time it happens, usually I never had any problems.
    you can have some more information?

    thank you very much

    greetings

    http://upsamendrisiotto.ch
    August 16, 2013 at 2:44 am #56743
    photastic
    Member

    perhaps if you can post a part of your functions.php file containing the snippet itself, the one above & the one below so we can try to find out what's going wrong?

    Could be a small typo that's causing it not to work...


    Trying to craft webstuff at Photastic Webdesign
    Learning Genesis by solving unanswered topics

    August 16, 2013 at 2:56 am #56749
    walterbmw
    Member

    //* Customize search form input box text
    add_filter( 'genesis_search_text', 'custom_search_text' );
    function custom_search_text( $text ) {
    return esc_attr( 'Scrivi qui quello che cerchi..' );
    }

    //* Modify the WordPress read more link
    add_filter( 'the_content_more_link', 'sp_read_more_link' );
    function sp_read_more_link() {
    return 'Continua qui..';
    }

    //* Modify the header URL
    add_filter('genesis_seo_title', 'custom_seo_title', 10, 3);
    function custom_seo_title($title, $inside, $wrap) {
    $inside = sprintf( '%s', esc_attr( get_bloginfo('name') ), get_bloginfo('name') );
    $title = sprintf('<%s id="title">%s</%s>', $wrap, $inside, $wrap);
    return $title;
    }

    //* Remove the post info function
    remove_action( 'genesis_before_post_content', 'genesis_post_info' );

    //* Customize the credits
    add_filter( 'genesis_footer_creds_text', 'custom_footer_creds_text' );
    function custom_footer_creds_text() {
    echo '<div class="creds"><p>';
    echo 'Copyright © ';
    echo date('Y');
    echo ' · UPSA Mendrisiotto · Creato e sviluppato da Wuesse.com';
    echo '</p></div>';
    }

    August 16, 2013 at 2:58 am #56750
    walterbmw
    Member

    //* Customize search form input box text
    add_filter( 'genesis_search_text', 'custom_search_text' );
    function custom_search_text( $text ) {
    return esc_attr( 'Scrivi qui quello che cerchi..' );
    }

    //* Modify the WordPress read more link
    add_filter( 'the_content_more_link', 'sp_read_more_link' );
    function sp_read_more_link() {
    return 'Continua qui..';
    }

    //* Modify the header URL
    add_filter('genesis_seo_title', 'custom_seo_title', 10, 3);
    function custom_seo_title($title, $inside, $wrap) {
    $inside = sprintf( '%s', esc_attr( get_bloginfo('name') ), get_bloginfo('name') );
    $title = sprintf('<%s id="title">%s</%s>', $wrap, $inside, $wrap);
    return $title;
    }

    //* Remove the post info function
    remove_action( 'genesis_before_post_content', 'genesis_post_info' );

    August 16, 2013 at 3:08 am #56751
    photastic
    Member

    your return link is missing the class="more-link" tag...

    try adding that and see if that resolves the problem...


    Trying to craft webstuff at Photastic Webdesign
    Learning Genesis by solving unanswered topics

    August 16, 2013 at 3:21 am #56754
    walterbmw
    Member

    //* Customize the return to top of page text
    add_filter( 'genesis_footer_backtotop_text', 'custom_footer_backtotop_text' );
    function custom_footer_backtotop_text($backtotop) {
    $backtotop = '[footer_backtotop text="Torna in alto"]';
    return $backtotop;
    }

    //* Customize search form input box text
    add_filter( 'genesis_search_text', 'custom_search_text' );
    function custom_search_text( $text ) {
    return esc_attr( 'Scrivi qui quello che cerchi..' );
    }

    //* Modify the WordPress read more link
    add_filter( 'the_content_more_link', 'sp_read_more_link' );
    function sp_read_more_link() {
    return 'Continua qui..';
    }

    //* Modify the header URL
    add_filter('genesis_seo_title', 'custom_seo_title', 10, 3);
    function custom_seo_title($title, $inside, $wrap) {
    $inside = sprintf( '%s', esc_attr( get_bloginfo('name') ), get_bloginfo('name') );
    $title = sprintf('<%s id="title">%s</%s>', $wrap, $inside, $wrap);
    return $title;
    }

    not work....

    August 16, 2013 at 3:23 am #56755
    walterbmw
    Member

    the class = "more-link" tag ... exist.

    It does not work when I copy and paste on the forum ...

    August 16, 2013 at 3:24 am #56756
    walterbmw
    Member

    //* Modify the WordPress read more link
    add_filter( 'the_content_more_link', 'sp_read_more_link' );
    function sp_read_more_link() {
    return 'Continua qui..';
    }

    August 16, 2013 at 3:24 am #56757
    walterbmw
    Member

    incredible

    I paste and tag is missing

    August 16, 2013 at 3:27 am #56758
    photastic
    Member

    strange stuff... indeed, now I see that it exists on the site but not in your copied code...

    try putting your functions.php code between code tags here on the forum... Then it should come over and then the links aren't parsed either...


    Trying to craft webstuff at Photastic Webdesign
    Learning Genesis by solving unanswered topics

    August 16, 2013 at 3:30 am #56759
    walterbmw
    Member
    //* Customize the return to top of page text
    add_filter( 'genesis_footer_backtotop_text', 'custom_footer_backtotop_text' );
    function custom_footer_backtotop_text($backtotop) {
    $backtotop = '[footer_backtotop text="Torna in alto"]';
    return $backtotop;
    }
    
    //* Customize search form input box text
    add_filter( 'genesis_search_text', 'custom_search_text' );
    function custom_search_text( $text ) {
    return esc_attr( 'Scrivi qui quello che cerchi..' );
    }
    
    //* Modify the WordPress read more link
    add_filter( 'the_content_more_link', 'sp_read_more_link' );
    function sp_read_more_link() {
    return '<a class="more-link" href="' . get_permalink() . '">Continua qui..</a>';
    }
    
     
    //* Modify the header URL
    add_filter('genesis_seo_title', 'custom_seo_title', 10, 3);
    function custom_seo_title($title, $inside, $wrap) {
    $inside = sprintf( '<a href="http://upsamendrisiotto.ch/i-ragazzi-del-corso-2013/" title="%s">%s</a>', esc_attr( get_bloginfo('name') ), get_bloginfo('name') );
    $title = sprintf('<%s id="title">%s</%s>', $wrap, $inside, $wrap);
    return $title;
    }

    I try...

    August 16, 2013 at 4:02 am #56764
    Stewart
    Member

    Hi,

    Try changing this line in your code :

    add_filter( 'the_content_more_link', 'sp_read_more_link' );
    

    To

    add_filter( 'get_the_content_more_link', 'sp_read_more_link' );
    

    hopefully that will resolve your issue.

    Stewart


    WordPress Developer – Need help upgrading to Genesis 2.0? – My Blog
    Follow me on Twitter

    August 16, 2013 at 4:16 am #56771
    photastic
    Member

    where lies the difference in the 2 Stewart? Just out of curiosity and sheer interest of learning new stuff 😉


    Trying to craft webstuff at Photastic Webdesign
    Learning Genesis by solving unanswered topics

    August 16, 2013 at 4:25 am #56772
    Stewart
    Member

    Sure,

    As far I my understanding goes the 'the_content_more_link' is a WordPress filter which is applied in 'wp-includes/post-template.php'.

    And the 'get_the_content_more_link' is the name of the filter that genesis has used to filter the 'the_content_more_link' in 'genesis/lib/functions/formatting.php'

    Hopefully that explains it a bit better 🙂
    Stewart


    WordPress Developer – Need help upgrading to Genesis 2.0? – My Blog
    Follow me on Twitter

    August 16, 2013 at 4:35 am #56774
    walterbmw
    Member

    not good.
    I also changed the buttons in widget featured
    above the bar call to action
    I do not want to change the 4 widgets ...

    August 16, 2013 at 8:50 am #56800
    walterbmw
    Member

    Let's say the problem where I asked you is solved but now it has also changed the widget, I do not want to change.

    Everything I had already tried it ..

    August 21, 2013 at 6:42 am #57894
    walterbmw
    Member

    Do you have an answer?

  • Author
    Posts
Viewing 17 posts - 1 through 17 (of 17 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble