• Resolved dooom

    (@dooom)


    Hi there,

    A client is looking to add an area of text to the index that will be changed quite a bit, but I’m not sure how to do this without using a textwidget as I think the whole process will confuse them.

    Here’s a quick example of my layout: https://cl.ly/3p3o3X1z3P2q1d0z2M3G

    Is there a plugin or something that’ll add an area to the admin sidebar to allow text-updates?

    Ideally I’d like to have the client login, nav down to “Home Text Edit”, or similar name, and a page with a metabox + save button appears that’ll send the information to the index (assuming I’d use it with a php include).

    THANKS SO MUCH for any ideas!

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’v edone similar before using a custom post type. And then within the particular box querying just one post from the CPT.

    I’ll admit, I don’t think it’s an ideal use of CPTs, but having a menu option that said Update Front Page was the least confucsing thing I could think of in this particular case.

    Each time they wanted to update the box, they added a new post to this CPT

    Thread Starter dooom

    (@dooom)

    That’s interesting and would totally solve my problem. So editing the post and saving wouldn’t updatee the box?

    It would. Or, if the content totally changes, they could just write a new post of this custom post type. Since you would only query 1 post of the CPT in that box, only the most recent post would show up.

    A lot of themes do similar, but using categories like ‘featured’ or something. Just the person I was designing for couldn’t possibly remember to assign the featured category to the post that was supposed to go in the box. So I used a seperate CPT just for the ‘featured’ box.

    Thread Starter dooom

    (@dooom)

    Awesome! This is perfect, simple, easiest solution for my client.

    Thanks Rev. Voodoo!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add frequently changed text box to index (no widgets)’ is closed to new replies.