Community Forums › Forums › Archived Forums › Design Tips and Tricks › Deleted Plugin left debris
Tagged: deleted plugin
- This topic has 9 replies, 3 voices, and was last updated 11 years, 3 months ago by
nutsandbolts.
-
AuthorPosts
-
November 15, 2013 at 11:04 am #73159
spoll
ParticipantI had activated this plugin 'Gzalien Available Payment Options' widget and deleted it. I'm still getting remnants of it on my site on each product page and can't find where to clean it out. I've used Firebug and see the html but it's not in the css. Can someone please take a look?
It looks different in different browsers and platforms, sometimes copy and other times just boxes with dead link images.
Thanks-
Scott<div class="after-content-ad"></div>
http://scabsbandages.com/products/scabs-sports/November 15, 2013 at 11:07 am #73161nutsandbolts
MemberLooks like the info is in the after content ad widget under Appearance > Widgets.
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+November 15, 2013 at 11:14 am #73167spoll
ParticipantI thought so too, is this it?
.after-content-ad {
clear: both;
margin: 0 auto;
overflow: hidden;
padding: 0 0 20px;
text-align: center;
width: 960px;
}I tried deleting and nothing happened.
November 15, 2013 at 11:18 am #73172nutsandbolts
MemberNo, the CSS isn't causing it. There is a text widget in the After Content Ad widget area with code from the plugin. If you go to Appearance > Widgets and open that widget area, you should see a widget that you can pull out or delete to get rid of it.
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+November 15, 2013 at 11:24 am #73179spoll
ParticipantOk, this may seem strange, but it's just not there in the widget area. The ACA widget area is empty. I tried that earlier that's why I'm having such a difficult time clearing it out.
November 15, 2013 at 11:25 am #73180nutsandbolts
MemberHmmm... Can you paste in your functions.php?
Another option may be the Plugin Garbage Collector plugin. If there are tables left in your database, it will clear them out (just be careful and make sure you aren't deleting any tables you need).
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+November 15, 2013 at 11:28 am #73181spoll
ParticipantSure, here's the php:
<?php
/** Start the engine */
require_once( get_template_directory() . '/lib/init.php' );/** Child theme (do not remove) */
define( 'CHILD_THEME_NAME', 'News Theme' );
define( 'CHILD_THEME_URL', 'http://www.studiopress.com/themes/news' );/** Add Viewport meta tag for mobile browsers */
add_action( 'genesis_meta', 'news_add_viewport_meta_tag' );
function news_add_viewport_meta_tag() {
echo '<meta name="viewport" content="width=device-width, initial-scale=1.0"/>';
}$content_width = apply_filters( 'content_width', 580, 430, 910 );
/** Create additional color style options */
add_theme_support( 'genesis-style-selector', array(
'news-green' => 'Green',
'news-orange' => 'Orange',
'news-pink' => 'Pink',
'news-purple' => 'Purple',
'news-red' => 'Red',
'news-teal' => 'Teal'
) );/** Add support for structural wraps */
add_theme_support( 'genesis-structural-wraps', array(
'header',
'nav',
'subnav',
'inner',
'footer-widgets',
'footer'
) );/** Add new image sizes */
add_image_size( 'home-bottom', 110, 110, TRUE );
add_image_size( 'home-middle-left', 280, 165, TRUE );
add_image_size( 'home-middle-right', 50, 50, TRUE );
add_image_size( 'home-tabs', 150, 220, TRUE );/** Add support for custom header */
add_theme_support( 'genesis-custom-header', array(
'width' => 960,
'height' => 250
) );/** Add support for custom background */
add_theme_support( 'custom-background' );/** Reposition the secondary navigation */
remove_action( 'genesis_after_header', 'genesis_do_subnav' );
add_action( 'genesis_before', 'genesis_do_subnav' );/** Add after post ad section */
add_action( 'genesis_after_post_content', 'news_after_post_ad', 9 );
function news_after_post_ad() {
if ( is_single() && is_active_sidebar( 'after-post-ad' ) ) {
echo '<div class="after-post-ad">';
dynamic_sidebar( 'after-post-ad' );
echo '</div><!-- end .after-post-ad -->';
}
}/** Add after content ad section */
add_action( 'genesis_before_footer', 'news_after_content_ad' );
function news_after_content_ad() {
if ( is_active_sidebar( 'after-content-ad' ) ) {
echo '<div class="after-content-ad">';
dynamic_sidebar( 'after-content-ad' );
echo '</div><!-- end .after-content-ad -->';
}
}/** Add support for 3-column footer widgets */
add_theme_support( 'genesis-footer-widgets', 3 );/** Register widget areas */
genesis_register_sidebar( array(
'id' => 'home-top',
'name' => __( 'Home Top', 'news' ),
'description' => __( 'This is the home top section.', 'news' ),
) );
genesis_register_sidebar( array(
'id' => 'home-middle-left',
'name' => __( 'Home Middle Left', 'news' ),
'description' => __( 'This is the home middle left section.', 'news' ),
) );
genesis_register_sidebar( array(
'id' => 'home-middle-right',
'name' => __( 'Home Middle Right', 'news' ),
'description' => __( 'This is the home middle right section.', 'news' ),
) );
genesis_register_sidebar( array(
'id' => 'home-bottom',
'name' => __( 'Home Bottom', 'news' ),
'description' => __( 'This is the home bottom section.', 'news' ),
) );
genesis_register_sidebar( array(
'id' => 'after-post-ad',
'name' => __( 'After Post Ad', 'news' ),
'description' => __( 'This is the after post ad section.', 'news' ),
) );
genesis_register_sidebar( array(
'id' => 'after-content-ad',
'name' => __( 'After Content Ad', 'news' ),
'description' => __( 'This is the after content ad section.', 'news' ),
) );November 15, 2013 at 11:31 am #73184nutsandbolts
MemberOkay, nothing out of the ordinary there.... Hmm.....
Would you be comfortable with me logging in to take a look? If you aren't, no worries, but it might be easier to help if I can see what's going on. If you want me to check it out, you can email me directly.
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+November 15, 2013 at 2:26 pm #73251Summer
MemberWhat happens if you comment out
add_action( ‘genesis_before_footer’, ‘news_after_content_ad’ );
?
WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
Slice of SciFi | Writers, After DarkNovember 15, 2013 at 2:27 pm #73253nutsandbolts
MemberIt was his cache - we got this one resolved. 🙂
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+ -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.