Bypassing my themes hard-coded image attachment function

Hi All,

My theme has a built-in image attachment function that prevents me from setting a featured image from an existing image in the media library.

The function is based on a recipe called Image Attachments Toolbox, which allows for auto creation of a gallery by uploading multiple images while in the post editor. This is a cool feature, but the drawback is that the only way to register a featured image is to upload and set it from within the post editor, so it can be pretty time consuming when publishing 50+ posts a day.

The theme is WP Navigator (link to the description page on ThemeForest: http://tinyurl.com/ck8cndb).

Here's the code snippet that registers this feature in my function.php: http://pastebin.com/3M8uKYxR, and here's the hook in my single.php that executes the function: http://pastebin.com/U7VBfixG.

My goal is not to remove the auto-gallery feature from the theme, but rather to be able to bulk upload multiple images to my library and select one for each individual post's featured image before publishing.

This has been nagging at me for a while so I'm really hoping someone can help shed some light on how to resolve this issue.

Thanks in advance for any suggestions!

  • Patrick
    • Support Monkey

    Hiya @Gotequity

    Welcome to the forums!

    I'd love to be able to help you out, but my knowledge is hardly up to par for this.

    Also, while 3rd-party product customization of this specific type is a bit beyond the scope of the support that we can provide here, we do try to help whenever we can, and if we know the answer will respond regardless.

    Hopefully someone in the community will chime in here to share their expertise :slight_smile:

    Alternatively, you could see if there's a developer available at wpmu jobs or Tweaky who could get onto it right this minute

  • Gotequity
    • New Recruit

    Thanks for clarifying the support criteria, Patrick. This has been a frustrating issue for me so I thought sharing it here might catch the eye of someone who's encountered a similar hurdle in the past and might be willing to offer a solution.

    Likewise, if I stumble across a patch I'll be sure to share it here for the benefit of others.

    Cheers :slight_smile:

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.