Viewing 15 replies - 1 through 15 (of 50 total)
  • Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Yes, I made a separate plugin for adding that functionality.

    https://geek.hellyer.kiwi/plugins/unique-headers-single-posts/

    I might include support for that functionality in a future version of the plugin by providing a checkbox alongside the category image selector, to force posts to use the category image.

    Thread Starter Os

    (@oscwood)

    Hey Ryan

    While I really appreciate your quick reply and your effort, I regret to inform you this doesn’t seem to work. It only inserts the “attachment ID” of the correct media file but not the actual path to the file. Also, it does not seem to be able of pulling the header information for parent categories, but I guess I didn’t mention that in the original post…

    ` <img src=”https://4522&#8243; width=”960″ height=”200″ alt=””>

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Damn. Thanks for letting me know.

    I’ll need to sit down and fix this some time then, but I’m quite busy right now so can’t help immediately sorry.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    I’ve added this functionality into the development version for you. If you could test it for me and let me know any problems you experience, that would be incredibly helpful ??

    https://github.com/ryanhellyer/unique-headers

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    This version now has a checkbox below the header image when editing categories or tags. When the checkbox is selected, the posts which are children of that taxonomy will use that header image.

    If an image is specified for the actual post, that one will be chosen in preference to the taxonomies header image.

    Thread Starter Os

    (@oscwood)

    Fantastic, this does the job for the main categories. No errors, works fine. Thank you so much.

    Would it be possible to have another checkbox (maybe in the next version, whenever you find time) for “Display on subcategories”, also?

    I really appreciate your help with this matter.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    I’m having trouble trying to implement some of this stuff in an efficient manner. To do this requires a lot of database queries which I want to avoid.

    I may need to extract this back out and provide it as part of a separate plugin again. I’m not keen on putting inefficient code like that into the main plugin.

    It will work fine, but it will either put extra load on your site, or do strange things due to caching. The strange things could include changing the category image, but not having it update on the single posts until the cache has cleared. I’m okay with that sort of thing being in an extension plugin, but without being able to do it more elegantly, I’d like to avoid having it in the core plugin.

    I’ll post back here once I’ve looked into this issue further and made a decision on how to handle it.

    Hi Ryan,

    I’m a new user of the plugin and loving it. I’m also interested in the idea of being able to do the same header on all posts in a category. I can do it individually, but with a large number of posts it’s becoming time-consuming since I can’t set them in a batch-editing format.

    I was just checking in to see if you had any further thoughts or if you thought I should use the separate plugin.

    Thanks!

    Joan

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Hi,
    The separate plugin I made is what you need:
    https://geek.hellyer.kiwi/plugins/unique-headers-single-posts/

    Ryan, thanks.

    That one is still causing the error mentioned by the above poster, where the ID number of the image displays but not the image URL.

    So I used the full one from your Github link (v .11) and it works fine, just doesn’t have whatever updates you rolled out for .12 and keeps prompting me to update!

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    If you experience any problems with it, just let me know and I’ll look into it for you.

    Hi, have been using your unique headers from Github v.11. I know have a problem with that plugin. First time I set a header to some cagories and clicked “use in single posts” it worked as a charm. The problem came when I wanted to change the customed header.

    For some categories I can not remove the customed header. I click remove and save but when I go back to the category the header is still there.

    In some cases I have managed to change the header, but when I go to a post the post have the old header instead of the new one. It seems as though the changes is not saved to the database.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    The plugin is at version 1.3.12, not version 0.11. Upgrading should fix whatever problems you are experiencing.

    My mistake – I understood it as the v.12 didn’t have the feature with single post. Will try it immediately

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Here is the plugin for single posts … https://geek.hellyer.kiwi/plugins/unique-headers-single-posts/

    That one needs to be used in conjunction with the Unique Headers plugin.

Viewing 15 replies - 1 through 15 (of 50 total)
  • The topic ‘Header for all posts within a category’ is closed to new replies.