Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • I have already checked media settings. None of the options in media settings appear in the drop down menu when uploading an image into a post.

    I’m having the same issue as well. I can only insert an image at the size it was uploaded, and am not given a choice for sizes like small, medium, large, thumbnail, etc.

    Forum: Plugins
    In reply to: Add Code Before Each Image
    Thread Starter Mitchell Wischmann

    (@mwischmann)

    That is exactly what I was looking for!! Thanks so much!!

    I do have one question though: how can I get it to work if the image is hyperlinked within the post? For example, I installed the plugin on my dev site, and the following is how the output looked when the image was hyperlinked:

    <a href="https://google.com">
    <span class="pinterest-button"></span>
    </a>
    <a href="https://pinterest.com/pin/create/button/?url=http%3A%2F%2Flocalhost%3A8888%2F%3Fp%3D85&media=https://localhost:8888/wp-content/uploads/Tide-Pods2.jpg&description=P%26%23038%3BG+Products+from+VitaCost" class="pin-it-post"></a>
    <img class="aligncenter size-full wp-image-88519" title="Tide Pods" src="https://localhost:8888/wp-content/uploads/Tide-Pods2.jpg" width="186" height="200">

    when the code should look like:

    <span class="pinterest-button">
    <a href="https://pinterest.com/pin/create/button/?url=http%3A%2F%2Flocalhost%3A8888%2F%3Fp%3D85&media=https://localhost:8888/wp-content/uploads/Tide-Pods2.jpg&description=P%26%23038%3BG+Products+from+VitaCost" class="pin-it-post"></a>
    <a href="https://google.com">
    <img class="aligncenter size-full wp-image-88519" title="Tide Pods" src="https://localhost:8888/wp-content/uploads/Tide-Pods2.jpg" width="186" height="200">
    </a>
    </span>

    Any ideas? Again, thank you SO much for all of your help! I really appreciate it!

    I realize this is a self-help forum; I’m not that great with PHP yet and am trying to learn more! ??

    Thread Starter Mitchell Wischmann

    (@mwischmann)

    Never mind! I found another error in the preceding code.

    Thread Starter Mitchell Wischmann

    (@mwischmann)

    Never mind, I just solved my own issue! I forgot to empty the page cache.

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