Black Friday Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] Visible or hidden with posts and GP Hooks

Home Forums Support Visible or hidden with posts and GP Hooks

  • This topic has 8 replies, 2 voices, and was last updated 3 years ago by Leo.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #423270
    Dave

    Hey guys, I have a post that I have added to Widget For Shortcodes and then made it visible only on the Home Page using Widget Options. I have then added the shortcode to GP Hooks. The goal is to have the post visible for temporary news items or alerts that the fire agency wants on their home page.

    See URL in your admin notes.

    Is there a better way of doing this? I’d like to be able to just place a post in “Draft” or activate a post expiration and have the post go hidden. My goal is to make it as simple as possible since I’m not going to be the one updating the site – the client will be and they aren’t super WP savvy.

    GeneratePress 1.4
    GP Premium 1.5.2
    #423475
    Leo
    Staff
    Customer Support

    Hi Dave,

    Sorry I’m not sure what you mean? Can you explain a bit more? or provide an example what you are trying to achieve?

    #423483
    Dave

    I included the URL in the original question form where it asked for the URL (admin only sees this). The site is still under construction so I didn’t want to list it in the original question. Did that URL not come through?

    #423486
    Leo
    Staff
    Customer Support

    Yes it did and I saw the site. However I’m not sure what the problem is?

    Like what’s not working?

    #423490
    Dave

    Oh gotcha. That part that is white box/red border with the text about the Local Option Levy is currently visible, but its a temporary news message that eventually needs to come down and not be visible to site visitors. Currently I go in to the Widget section and find the Widgets For Shortcodes area and check the boxes to hide that particular post from all pages. Ideally, I would like that post to be hidden when I simply put that post in “Draft” status as opposed to “Published”

    I’m wondering if you are aware of an easier way to do that possibly what what GP can do?

    #423491
    Dave

    Simply put lol – I want a section where the client can post a quick note or alert (in the exact place it is now on the site) and then have it be just as easy to take the alert off when it no longer applies.

    #423532
    Leo
    Staff
    Customer Support

    Unfortunately nothing I’m aware of. Things like this would require some custom coding.

    Maybe try making a short clip to show the client how to add/remove the content though?

    #423641
    Dave

    Yah that’s what I figured. Ok thanks!

    #423648
    Leo
    Staff
    Customer Support
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.