Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #646794

    I see the excerpt appears to have a link at the bottom of the Latest News widget […] but it is not clickable. Can I make it clickable or make it say “Read More” without creating a child theme?

    • This topic was modified 8 years, 4 months ago by yes9310.
    #646878

    Hi yes9310!

    You can framework > php > class-framework-widgets.php, find this code on line 558:

    the_excerpt();

    Below, add this code:

    
    echo "<a class='news-read-more' href='".get_the_permalink($the_id)."'>Read More</a>";

    Please create a change log of this changes in case you update the theme.

    Cheers!
    Basilis

    #646891

    Ok it added “Read More” link, but gives me following error up top of page now and there is no link on […]
    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/content/09/13966609/html/wp-content/themes/enfold/framework/php/class-framework-widgets.php:1) in /home/content/09/13966609/html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 32

    • This reply was modified 8 years, 4 months ago by yes9310.
    #648352

    Hi,

    Please refer to this link in order to fix the error: https://kriesi.at/support/topic/warning-session_start-function-session-start/#post-447416

    Best regards,
    Ismael

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