Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #163115
    ExperienceBar
    Participant

    Hi,

    I didn’t notice a Verity-specific support section, so I’m posting here.

    I’m currently struggling with unwanted ellipses at the end of my excerpts. See below:

    http://box5751.temp.domains/~experjw1/

    Please note this is a temporary domain.

    Each of my excerpts end with a … and I’m unable to locate the function that is adding it. Could I get some direction in removing them?

    The excerpts should read:

    “Rethinking your life choices? Might be time for a Mindwipe Tonic from ARK: Survival Evolved: a game-changing beverage made of gin, blueberries, blue curacao and lime juice.”

    Currently, this reads:

    “Rethinking your life choices? Might be time for a Mindwipe Tonic from ARK: Survival Evolved: a game-changing beverage made of gin, blueberries, blue curacao and lime juice. …”

    #163118
    Skandha
    Participant

    @experiencebar: For that you will need to create a child theme and do a bit of customization. Let me know if you are familiar with child theme customization so that I can help you out!

    Kind Regards,
    Skandha

    #163154
    ExperienceBar
    Participant

    @Skandha: Thanks for the response! I have created a child theme and applied a couple of customization options of my own already—what’s next?

    Jack

    #163174
    Skandha
    Participant

    @experiencebar: Go to => Child Theme Folder => functions.php and add the following Code.

    function verity_excerpt_more( $more ) {
    	if ( is_admin() ) {
    		return $more;
    	}
    
    	$more_tag_text  = get_theme_mod( 'verity_excerpt_more_text',  esc_html__( 'Continue reading', 'verity' ) );
    
    	$link = sprintf( '<a href="%1$s" class="more-link"><span>%2$s</span></a>',
    		esc_url( get_permalink( get_the_ID() ) ),
    		/* translators: %s: Name of current post */
    		wp_kses_data( $more_tag_text ). '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>'
    		);
    
    	return $link;
    }

    Let me know if this works out!
    Kind Regards,
    Skandha

    #163178
    ExperienceBar
    Participant

    @skandha

    It doesn’t seem to have made a difference—I’m still getting the ellipses and, to my eyes, nothing else has changed on the front page.

    Here’s my current functions.php code in full, if that’s of any use:

    
    <?php
    function my_theme_enqueue_styles() {
     
        $parent_style = 'verity-style';
     
        wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
        wp_enqueue_style( 'child-style',
            get_stylesheet_directory_uri() . '/style.css',
            array( $parent_style ),
            wp_get_theme()->get('Version')
        );
    }
    add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
    
    function verity_excerpt_more( $more ) {
    	if ( is_admin() ) {
    		return $more;
    	}
    
    	$more_tag_text  = get_theme_mod( 'verity_excerpt_more_text',  esc_html__( 'Continue reading', 'verity' ) );
    
    	$link = sprintf( '<a href="%1$s" class="more-link"><span>%2$s</span></a>',
    		esc_url( get_permalink( get_the_ID() ) ),
    		/* translators: %s: Name of current post */
    		wp_kses_data( $more_tag_text ). '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>'
    		);
    
    	return $link;
    }
    ?>
    
    #163179
    Skandha
    Participant

    @experiencebar: The code I provided is working at my end. I will need to login to your site and look into the issue. For that I will need your WP admin credentials. I will contact you shortly by email.

    Kind Regards,
    Skandha

    #171559
    ArOuthwaite
    Participant

    Hi,

    I also couldn’t fine a Verity-specific support section, so I’m posting here.

    The questions are for this website https://wearearising.org

    How can I remove the “Portfolio” and “Featured” content from the Static Homepage?

    I can’t see the options in the ‘Customise’ menu, nor can I see instructions and FAQs and can’t find the answer. There are instructions on how to add that content, but not how to remove it or toggle on/off to see how it could look differently

    Thank you in advance.

    #171577
    Skandha
    Participant

    @arouthwaite: Hello there,
    You can find Verity Support Section on the Select Theme Dropdown Options in the Support Forum.

    Do you mean to remove “Portfolio” and “Featured” content only from the Static Homepage or you want to remove it completely from your site?

    Kind Regards,
    Skandha

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Verity support’ is closed to new replies.