Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1072792
Show Featured Content
Closed

Comments

  •  2
    gianpaolo faccini started the conversation

    Hi a quick question about the show featured content in the Blog item settings.

    Can be automatically swithched on instead of been selected manually for every post?

  •  7,120
    Oliver replied

    HI!

    Sorry, if the posts starts from the shortcode, you need to set excerpt manually. 

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  •  2
    gianpaolo faccini replied

    No what i mean is:

    If i set a Feature Immage and i want the Feature image at the top of the single post i need to go Blog item settings and select manually: show featured content.

    Can this be switched on automatically for each post?

  •  7,120
    Oliver replied

    HI!

    Sorry, without code changes no.

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  •  2
    gianpaolo faccini replied

    i can work on the code if you can give me the edit i need to do


  • [deleted] replied

    Try to install child theme and add next code to its functions.php file:

    function thegem_child_get_post_data($data) {
        $data['show_featured_content'] = 1;
        return $data;
    }
    add_filter('thegem_get_post_data', 'thegem_child_get_post_data');
    But after that you will can't disable "show featured content" setting.