Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #438516

    Hi,
    Is there a way to disable dates showing up in magazine view? I’ve already disabled dates in the enfold blog options, but it still shows up in the magazine view. Thanks!

    #439193

    Hi shoo!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .av-magazine-time {
      display: none;
    }

    Regards,
    Yigit

    #439662

    Hi Yigit, thanks that is perfect.

    Now while I’m at it, is there a way to show a short except? Like I have for my “Latest Products” sidebar.
    Here’s a link to the site again: https://vipoffers.club/

    Thanks as always!

    #439682

    Hey!

    Please add following code to Functions.php file in Appearance > Editor and adjust the lenght as needed

    add_filter('avf_magazine_excerpt_length','avf_magazine_excerpt_new_lenght', 10, 1);
    function avf_magazine_excerpt_new_lenght($excerpt) {
    $excerpt = 100;
    return $excerpt;
    }

    Regards,
    Yigit

    #440339

    Hi Yigit, I have currently added the code to my functions.php file, but looks like it made no difference? I’ve cleared all cache and everything already. Thanks.

    #440340

    Hey!

    Can you please post a screenshot and show the changes you would like to make? The code i posted should change excerpt length on magazine element

    Best regards,
    Yigit

    #440917

    Hi, Yigit, once again, really appreciating your help. Please find an image of what I’m trying to achieve. image: http://postimg.org/image/yugwf9bdb/

    Thanks.

    #441877

    Hi!

    Thank you for using Enfold.

    The excerpt for small magazine entries is hidden by default because there’s not enough space to accommodate them. If you really want to display it, you can edit config-templatebuilder > avia-shortcodes > magazine.php, find this code on line 558:

    if(empty($this->atts['thumbnails']))
    				{
    					 $image = "";
    					 $extraClass = "av-magazine-no-thumb";
    				}	

    Below, add this:

    $excerpt = !empty($entry->post_excerpt) ? $entry->post_excerpt : avia_backend_truncate($entry->post_content, apply_filters( 'avf_magazine_excerpt_length' , 10) , apply_filters( 'avf_magazine_excerpt_delimiter' , " "), "…", true, '');	
    			}
    

    Best regards,
    Ismael

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