Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #112855
    F
    Participant

    I think I have one of the same problems Joshua had.

    On the front page I am displaying the Featured Slider, Portfolio and Featured Content components. Let’s say the Featured Slider is set to display 3 posts of a certain category. If I upload a new post to that category, on the home page…the Featured Slider doesn’t show the new post. It’s the same with all the other components that are set to show a certain category.

    Or, even if they are set to display a certain page rather than a category, if I make changes to that page, those changes don’t show up on the front page display.

    The only way I’ve found to make the front page display show changes and new posts is to go into Appearance – Customize…and then which ever component, let’s say it’s the Featured Slider…and change the category to something else, save the changes, then change it back to the original category and save. Then it refreshes the front page display to show whatever changes or additional posts there are.

    This is not a cache issue. I don’t have cache plugins installed, and even if I did, the changes don’t appear, even after more than a day.

    Thanks.

    #112894
    Mahesh
    Keymaster

    @kataka-publishing: For this you’ll need to create a child theme for this. You can find more on creating child theme HERE.

    function helena_child_flush_post_transients(){
    	delete_transient( 'helena_header_highlight_content' );
    	delete_transient( 'helena_featured_slider' );
    	delete_transient( 'helena_hero_content' );
    	delete_transient( 'helena_featured_content' );
    	delete_transient( 'helena_portfolio' );
    	delete_transient( 'helena_logo_slider' );
    	delete_transient( 'helena_promotion_headline' );
    	delete_transient( 'all_the_cool_cats' );
    	delete_transient( 'helena_categories' );
    }
    add_action( 'save_post', 'helena_child_flush_post_transients' );

    This will be fixed in the next update.

    Regards,
    Mahesh

    #112925
    F
    Participant

    Thanks, Mahesh.

    #112961
    Mahesh
    Keymaster

    @kataka-publishing: Thank you for your appreciation.

    Regards,
    Mahesh

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Front page components don't update’ is closed to new replies.