Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter spinosa2

    (@spinosa2)

    Thank you very much. This is what I ended up doing, and it worked:

    $attachment_meta = get_post(get_post_thumbnail_id(id of post))->post_excerpt;
    
    echo $attachment_meta;
    Thread Starter spinosa2

    (@spinosa2)

    Thanks for your help.

    It does not work.

    Here is what I have tried:

    $attachment_meta = wp_get_attachment(get_the_ID());
    title='<?php echo $attachment_meta['caption']; ?>'

    and

    $attachment_meta = wp_get_attachment(get_post_thumbnail_id(get_the_ID()));
    title='<?php echo $attachment_meta['caption']; ?>'

    Neither worked. The pictures didn’t even load at all.

    Thread Starter spinosa2

    (@spinosa2)

    Hey, thank you for your answer.

    I want to do this for the blog section of my website (individual articles and the blog archives page)

    Here is the body tag of an individual post:

    <body class="single single-post postid-1102 single-format-standard logged-in admin-bar no-customize-support custom-header header-image sidebar-content-sidebar">

    and here is the body tag of the blog archives:
    <body class="archive category category-blogue category-6 custom-header header-image sidebar-content-sidebar">

    And the sidebar has div id sidebar.

    For the single post page I tried:

    .single #sidebar {
    width = 50px;
    }

    but it did not do anything

    Thread Starter spinosa2

    (@spinosa2)

    I’ve read some threads an some people say to delete some files in wp-content. I renamed them all and still the same problem.

    Thread Starter spinosa2

    (@spinosa2)

    When looking at the source I noticed alot of admin backend code.

    and Jquery has completely stopped working / is buggy. Jquery lightbox and jquery slider stopped working. Contact Form 7 is behaving weirdly.

    Why doesn’t this plugin clean itself up properly when uninstalling it?

    can I have a list of all the actions this plugin take? what files does it modify or append lines to?

    Thank you.

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