Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter MelmoSA

    (@melmosa)

    Thanks, but I was really hoping to find a way to stop the redundant images from being created.

    For example:

    If you’re creating a Page and upload a featured image, only 1 version with a specific size is created.
    And,
    If you’re creating a Post and upload a featured image, only 3 specific versions are created using specified sizes.

    Ideally, the images uploaded within Posts will not be duplicated using the size specified for Pages and the images uploaded within Pages will not be duplicated using the sizes specified for Posts.

    Within the Media Settings, I have set all of the Image Sizes to 0 but it’s still uploading multiple versions.

    I’ve got a feeling this may be due to interference from Woo Commerce, but I’m not sure.

    Thread Starter MelmoSA

    (@melmosa)

    Thanks, could you possibly provide an example of how the code should look?

    Would this method stop WordPress from creating an instance of every size for every image uploaded?

    Thanks ??

    Thread Starter MelmoSA

    (@melmosa)

    For everyone’s information, I eventually discovered the cause of my issue:

    Basically, I had activated my Advanced Custom Fields Filed Group by selecting on of my Store Locator categories, but then deselected that category as I did not intend to add a new store, I went on to create a whole different post entirely. I don’t think this would usually have been a problem, but because of the Radio Buttons in question, with “Wholly Owned” set as a Default, it immediately registered in the database when I saved the post, and stayed there, even though the Field Group wasn’t in use within that post when I saved.

    I found the offending post when I ran a Database Query, suddenly there was a non-store in the list.

    Hopefully this helps someone else in the future.

    Thanks for all the help ??

    Thread Starter MelmoSA

    (@melmosa)

    Thanks again for the response,

    We ran a few queries on the database looking for duplicate store names and duplicate post id’s but found none. I even downloaded a csv of the postmeta table and filtered in in excel.

    Is there perhaps a fool-proof way I can query this? Just to make double sure?

    I’ve also thought of using a DB Cleaner Plugin, but there are very few and they come with their risks. I’m not sure if you know of a safe and reliable one?

    I’m sorry to ask, but could you possibly explain your third paragraph a little more?

    (Values should be saved with add_post_meta($post->ID, ‘wholly_owned/member’, $value, true);, or better yet, use update_post_meta(). If update is used where no key/value yet exists, it is added. The resulting code is less complicated and less prone to undesired multiple values.)

    Thank you so much for the time you have taken to help with this.

    Thread Starter MelmoSA

    (@melmosa)

    Hi bcworkz,

    Thank you for the response.

    Would it be possible for a store to have both values even though the values are generated by radio buttons of which you can only select one value?

    Either way, I will try what you suggested.

    Thank you, I really do appreciate it.

    Thread Starter MelmoSA

    (@melmosa)

    Hello again,

    Please ignore my first post.

    I have since discovered that the new version of WordPress automatically loads jquery. I was loading jquery in my functions file and everything clashed. So I just removed the code from my functions file.

    Good to know ??

    Sorry if I wasted anyone’s time.

    Thread Starter MelmoSA

    (@melmosa)

    I am building my site on a sub domain of a website that is currently live. I have found that the gallery does not display on my front-end and I believe that this is being caused by plugins on the live site. Is there anyway I can stop the interference?

    Any assistance would be appreciated.

    Thank you.

    Forum: Hacks
    In reply to: Custom Back Button
    Thread Starter MelmoSA

    (@melmosa)

    It’s Perfect! Thank you so much!

    Can’t even tell you how many hours I spent on it.

    Much appreciated ??

    Forum: Hacks
    In reply to: Custom Back Button
    Thread Starter MelmoSA

    (@melmosa)

    Ok, it actually picked up on the link code 0.o

    ..sorry.

    Correction:

    Unfortunately, it doesn’t seem to be working… But I’m pretty sure I’m using it wrong… I used it like this: <a href=" I put the code here... "> Back </a>

    Forum: Hacks
    In reply to: Custom Back Button
    Thread Starter MelmoSA

    (@melmosa)

    Thank you so much, really appreciate the effort ??

    Unfortunately, it doesn’t seem to be working… But I’m pretty sure I’m using it wrong… I used it like this: Back text

    If that was a ridiculous thing to do, I apologize… Still a little new to this…

    Any further assistance would be greatly appreciated.

    Thanks again!

    Thread Starter MelmoSA

    (@melmosa)

    Apologies, I’m using WordPress Version 4.1.5.

Viewing 11 replies - 1 through 11 (of 11 total)