Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #111008
    dschwartzer
    Participant

    Until recently, the slider options were part of the main Admin Panel under Appearance. When there, I had the ability to enter the post ID while the related post was still scheduled to post. While the slider would then show one less than the total (if the slider was set to 5 it would only show 4), as soon as the post went live, the slider corresponding to that post would then automatically go live also (show 5 again).

    I noticed that in the last update or two, that option has now been moved to the Customizer and if I enter the ID for a scheduled post and save the settings, the theme changes the scheduled ID to False and the slider does not update when the new post is published. I have to wait for the post to be live before I can populate the Featured Slider panel with the latest post ID.

    Is this an intended change? If so, is there some way I can set the theme to go back to the old behavior? My posts tend to go line early in the morning and I now have to always go back and enter the Post ID after the fact.

    I hope this explanation is clear. Let me know if you have any questions.

    Regards,

    David

    #111052
    Mahesh
    Keymaster

    @dschwartzer: One the recent updates, theme options has been removed and you can customize settings through customizer. I understand the problem you are facing. But it is how it has been put up. You can only select the published status post not the other. But if you do like to have the scheduled to be posted, you’ll need to customize the theme a bit. Let me know further.
    Regards,
    Mahesh

    #111113
    dschwartzer
    Participant

    Dear Mahesh:

    Thank you for your usual quick response. I would like to know more how to customize the theme to allow me to add scheduled posts to the slider. I am not an experienced coder so please be as detailed as possible for me.

    Be aware that I do use a child theme of Simple Catch as my primary theme if that helps or makes a difference.

    Best Regards,

    David

    #111171
    Mahesh
    Keymaster

    @dschwartzer: Well, its good to have child theme to do any customizations. But what required here cannot be customized through child theme. You’ll need to edit the theme file itself. What you need is, edit simple-catch/functions/panel/customizer/customizer-sanitize-functions.php file and edit function simplecatch_sanitize_post_id() replace
    return ( 'publish' == get_post_status( $post_id ) ? $post_id : false );
    with
    return ( ('publish' == get_post_status( $post_id ) || 'future' == get_post_status( $post_id ) ) ? $post_id : false );
    on line 96
    Note: Since the theme file itself is edited, please make sure you do this changes on every update.

    Regards,
    Mahesh

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Populate Slider Prior to Live Post’ is closed to new replies.