• So, I am using the marijuana theme and in the right hand sidebar, I can’t get the flickr thing out of the widgets/sidebar area. I do not have a flickr account and I do not want this. That ‘Archives’ is doing the same thing.

    I have inspected element and tried all sorts of different display:none; combinations but I can’t figure it out. I thought it would be
    #flickr {display:none;}
    but that is not working. I have a child theme and all that. Any help is greatly appreciated. Thanks.

    Marijuana related site. pdxsmokers.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • smoker450 – I am using the same theme and am having the same problem!
    As I can see on the website you’ve listed, you don’t seem to have been able to figure out the problem.
    So here’s a friendly bump.

    Also, the ‘featured posts’ front page slider is giving me trouble, although I think that can be fixed by making my home page static (even though that’s not what I want).

    I like your ‘Sponsor’ widget though. Looks great!

    P.S. – the marijuana theme we’re referring to is from wplayout.com, if that helps.

    I had a similar problem with the “Recent Comments” sidebar widget that wouldn’t leave no matter what I did. Hopefully this will work for you too. I use the theme splendido, though. Anyway, so I went to my dashboard then “Appearance” then the “Editor” which is an option under it. Then i went over to the right hand side of the page it brings up to “Sidebar sidebar.php” There you may choose to comment out what codes for “flickr comments” if the option is there. For me, the coders that made the site showed were Recent comments were coded for between <!--HTML comments like this one-->. Hopefully that will be the case for you as well. Once you find that, you’ll want to go between the tags of php and comment out flickr stuff so it will look like this

    <?php /* COMMENTED OUT FLICKR CODE (if random code about flickr)
    *more random code
    *more random code
    *even more
    */?>

    making sure to add those stars before each line of code.

    If it doesn’t work off the bat, you may have not commented enough out. Try commenting more in case there is more php involved than you previously thought.

    The good thing about commenting is you can come back and undo what you did by just erasing the stars and slashes so I urge you to do that rather than just erase. Also make a note to yourself about what you did just in case you want it back later as I did above.

    Hope this helped!

    Thanks a lot for the advice learning2code!

    I think what you’ve suggested is correct. I haven’t tested it yet, but I will soon.

    Here’s what that part of the code looks like (starting from the last “/div” from the previous widget item:

    <div class="sidebar-widg">
    <h2>Flickr Photos</h2>
    <div class="clear"></div>
    <div id="flickr">
    <?php if (function_exists('get_flickrRSS')) get_flickrRSS(); ?>
    </div>

    I believe deleting all of that in this theme will do away with this.

    Being that this theme doesn’t seem to be frequently updated – or at all – I’m not even totally sure if a child theme is necessary. To air on the side of caution, however, it’s probably best to create one anyway.

    If this doesn’t work, I’ll report back soon with my findings.

    Best of luck!

    Thread Starter smoker450

    (@smoker450)

    Hey thanks for replying folks all of you, motivated me to come try what you all suggested and it worked.

    The id the for the div is #flickr so I tried using css (display:none !important) but it did not work

    This is what I did that worked.

    The code for the flickr is html, not php, so /**/ doesn’t work.

    I edited sidebar.php and put <!– CODE –!> around the following code

    <div class="sidebar-widg">
    <h2>Flickr Photos</h2>
    <div class="clear"></div>
    <div id="flickr">
    <?php if (function_exists('get_flickrRSS')) get_flickrRSS(); ?>
    </div>

    Thread Starter smoker450

    (@smoker450)

    thanks for all your help folks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Widget item won't go away’ is closed to new replies.