New Landing How can we help? Atelier Recent Posts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Atelier
  • #325739
    lauries
    Member
    Post count: 63

    Can you tell me how to

    1) Delete the date box that appears on a ‘Recent Post’ Thumbnail Image (screen shot attached).
    2) Change the text of the Blog Page Button from ‘View All Articles’ to the text of my choosing (screen shot attached).

    Thank you!

    #325810
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    1)

    .masonry-items .blog-item .date-overlay, 
    .recent-post .date-overlay {
        display: none;
    }

    2) Please install and activate the supplied child theme, inside the child theme functions.php file paste this:

    /**
     * Change text strings
     *
     * @link http://codex.wordpress.org/Plugin_API/Filter_Reference/gettext
     */
    function sf_change_text_strings( $translated_text, $text, $domain ) {
    	switch ( $translated_text ) {
    		case 'VIEW ALL ARTICLES' :
    			$translated_text = __( 'Your Custom TEXT HERE', 'swift-framework-plugin' );
    			break;
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'sf_change_text_strings', 20, 3 );
    #326042
    lauries
    Member
    Post count: 63

    Awesome, worked great! Thank you!

    #326075
    David Martin – Support
    Moderator
    Post count: 20834

    Glad to help you out!

    If you have found the theme/support useful, we appreciate it if you can leave feedback on our item if you have the time as it really helps us out.

    Thanks,
    David

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register