• Hi,

    http://www.newpathenergy.com

    I have an Amazon widget on the front page, just above the posts. Want to get rid of it but I can’t find it! Nowhere to be see in Widgets section (no widgets available for that section of page, are there?)?
    Only appears on front page. Does that mean it was added to the template manually (I just bought the site) and how do I remove it?

    Also, is there a Clickbank widget? Or do I just put the CB product info in a text widget?
    Thanks a lot.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Look for the Amazon code in the wp-contents/theme/nameoftheme/page.php file.

    Also you should ask whomever you bought this site from to fix the errors, http://validator.w3.org/check?uri=http%3A%2F%2Fwww.newpathenergy.com&charset=%28detect+automatically%29&doctype=Inline&group=0&verbose=1&user-agent=W3C_Validator%2F1.767

    Hi,

    You need to edit the index.php file of your theme and remove that Amazon code from there.

    Thanks,

    Shane G.

    Thread Starter whatsgoinon

    (@whatsgoinon)

    Hi,

    Shane G. & kmessinger: will try that re Amazon widget

    kmessigner: thanks for the heads-up re errors. how do I check for these errors (future reference) and what’s the usual cause? is it just normal maintenance or do these errors result from bad coding or ??? (total newbie with WP – in case you hadn’t guessed!)

    Thanks,

    your errors are the result of bad coding…as are most of them

    to check for errors you just go to http://validator.w3.org

    Thread Starter whatsgoinon

    (@whatsgoinon)

    Thanks all.

    Shane G.’s suggestion worked, the Amazon widget code was in the /wp-content/theme/nameofthetheme/index.php file. I removed the code, widget’s gone, page works fine.

    Hello guys,
    A noob need some help here,do you delete the whole index file?can you show me how the code look like,mine look like this,
    et_header(); ?>

    <div id=”container”>
    <div id=”content” role=”main”>
    <?php
    /* Run the loop to output the posts.
    * If you want to overload this in a child theme then include a file
    * called loop-index.php and that will be used instead.
    */get_template_part( ‘loop’, ‘index’ );
    ?></div><!– #content –>
    </div><!– #container –>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to remove Amazon widget’ is closed to new replies.