Before you ask please READ THIS

READ MORE PROBLEM IN BASIC GRID.


Hi

I have a "Read more" which appeared on my blog list, in basic grid.

I use the "more" tag in spanish but now two texts appear.

Thank you !!
Captura de pantalla 2018-03-20 a las 11.48.45.png
1864 x 679 - 331K

Comments

  • AirAir
    Posts: 10,970
    Hello:-)

    This is element from WPBakery, post grid, right?

    Could you give me link to that site?

    With kind regards.
  • AirAir
    Posts: 10,970
    crispatitus saidYes, from WPBakery. post grid.

    This is curious, if you leave the extract field in blank “read more” show, but if you put any text in extract field only “leer más” shows.

    Show this in “Ultimes noticies” : http://lourdesfisa.webigrafica.com/

    Thanks
    Hey:-)

    Please log in to forum to reply:-)

    I am not sure if this will be solution, but your message directs me to thinking it should be :-)

    Add this in your functions.php in theme, and check will it be better.
    add_action('after_setup_theme',function(){
        remove_filter( 'the_excerpt', 'apollo13framework_has_excerpt_read_more' );
    });

    With kind regards.
  • I already have this code in the functions.php file and it does not solve anything
  • AirAir
    Posts: 10,970
    OK I think I know - you have to switch grid element template to one from theme.
    Edit your post grid and switch to Item Design tab and next select Apollo13 Post, see screen shot:


    image

    With kind regards.
    screenshot-192.168.1.2-2018-03-21-12-53-16.png
    686 x 476 - 30K
  • I don't need to select Apollo13 Post, i need to use the basic grid post
  • AirAir
    Posts: 10,970
    OK, then use code I have gave you earlier.
    I have just tested it with basic grid post, and it hides our "read more".

    Place it in functions.php in child theme like on screen shot
    image

    With kind regards.
    read-more-remove.png
    1048 x 523 - 21K
  • I already told you another day, when the Excerpt field of any post is empty "read more" appears if it has text, "read more" does not appear and I need it never to appear.

    See my home page, in "ÚLTIMES NOTÍCIES" posts

    Your code days ago that I have it.
  • AirAir
    Posts: 10,970
    Yes, I understand that and I specially tested for it today before replying to you :-)

    I just suspect that maybe code is misplaced, or something that it doesn't work for you in case of Basic grid.

    Could you show me screen shot of your child theme functions.php, maybe I will be able to spot what might be wrong.

    Another idea: try removing another filter with this code:
    add_action('after_setup_theme',function(){
        remove_filter(  'excerpt_more', 'apollo13framework_new_excerpt_more'  );
    });
    This is only other place that produce such "read more" link.

    With kind regards.
  • ok, now it works correctly. Solve!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!