Tagged: 

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #743350

    Blog post with the excerpt + link option shows the full content
    I have added this code in excerpt too: a href=”<?php echo get_permalink(); ?>”> Read More…
    Can anyone help me, please? Thanks

    #745522

    Hey endanight,

    you need to adjust WordPress’ excerpt length function. Check this tutorial: http://www.wpbeginner.com/wp-themes/how-to-display-post-excerpts-in-wordpress-themes/

    Best regards,
    Andy

    #748493

    Hi, we want to show excerpts on the category overview and archive pages.
    The link you supplied gives the info, but in the enfold archive.php the the_content(); is not called.
    Also the theme does not have a category.php page….

    How can we activate the use of excerpts in enfold?

    #749335

    Hi,

    try this code inside your functions.php:

    function change_blog_archive_style() {	
    	global $avia_config;
    	if(!is_single()){ $avia_config['blog_content'] = "excerpt_read_more"; }
    }
    add_action('get_header', 'change_blog_archive_style'); 

    And then you can use the tag. It will display the excerpt even for archive pages.

    Best regards,
    Andy

    #749356

    Hi Andy,

    The code you supplied works great.
    Only thing is now that the ‘read more’ link is place in another <div> so it is place underneath the <p>
    We want the read more link to display in the same way as before, so that it is place behind the last word of the exerpt of read more text.

    Any idea how to achieve this?

    Love to hear from you.

    #749504

    Hi,

    not sure what you mean. Please always provide us a precise link showing the elements in question and if you can use screenshots to make things clear for us.

    Best regards,
    Andy

    #749617

    Hi Andy,

    I have made two screenshots:
    A: is the way the read more links shows now.
    B: is how the read more link shows in the custom way (without your code). This is also the way we would like to have it.

    #750042

    Hi,

    Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)

    Best regards,
    Andy

    #750045

    Hi andy the link supplied.
    The code is installed at the moment. Without the code the read more link is inside the paragraph tag.

    #750116

    Hi,

    not sure if we can help you with this one, but could you share with us admin access as well please?

    Best regards,
    Andy

    #750427

    Hi Andy,

    Via the backend there is not option to change code behaviour. Thus having the <div> inside the <p.
    I believe your template / theme code should be adjusted for this.

    #751461

    Hi,

    at first please update WordPress and your theme to the newest versions.

    Best regards,
    Andy

    #751470

    Hi Andy,

    Will do but, updating the theme and WP does not some the way the html is build.

    #751489

    Hi,

    does it work for you with another WP theme?

    Best regards,
    Andy

    #751510

    Hi andy, sorry but you dont understand the issue.

    Please check the html code of the theme whit excerpt code and without. The theme inserts the read more in a div, it needs to be inserted inside the paragraph.

    Is there anything i can explain / visualize this in a better way for you?

    #752281

    Hi,

    if you’re not using ALB, then this is not controlled by the theme, but by WordPress itself. For more information about it refer to: https://codex.wordpress.org/Customizing_the_Read_More

    Best regards,
    Andy

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.