Tagged: 

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

    Hey shortcircuitmedia,

    For removing dates on https://speakercommunity.org/aidan-crawford/ please add this CSS code in Enfold > General Styling > Quick CSS:

    #top.single-post .avia-content-slider .slide-meta {
        display: none;
    }

    As for adding a category in masonry element, please add this code in functions.php of your child theme:

    add_filter( 'avf_masonry_loop_prepare', 'avf_masonry_loop_prepare_mod_cat', 10, 2 );
    function avf_masonry_loop_prepare_mod_cat( $key, $entries )
    {
        $categories = get_the_category($key['ID']);
        $separator = ' ';
        $output = '
    <div class="masonry-cat">';
    	    if ( ! empty( $categories ) ) {
    	        foreach( $categories as $category ) {
    				$output .= '<span alt="' . esc_attr( sprintf( __( 'View all posts in %s', 'textdomain' ), $category->name ) ) . '">' . esc_html( $category->name ) . '</span>' . $separator;
    	        }
    	    }
    	 $output .= '</div>
    ';
    
        $key['text_after'] .= trim( $output, $separator );
        return $key;
    }

    Hope it helps.

    Best regards,
    Nikko

    #1357556

    Thanks very much!

    #1357568

    Hi shortcircuitmedia,

    We’re glad that we could help :)
    Just let us know if you still need further assistance on this topic.

    Best regards,
    Nikko

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