Forum Replies Created
-
AuthorPosts
-
EmblemMemberEmblemMember
Hi
I would like the widget to be site wide and positioned before the 3 footer widgets, not before the footer. I am using the hook 'genesis_after_content_sidebar_wrap'. If you take a look at
you will see I have written 'eye beauty tips' in the widget but it is broken up and appears next to the breadcrumbs and at the bottom of the primary sidebar.However on pages with full width content it appears in the correct position, for example.
.I have tried all the hooks but none are working for me. This worked before I upgraded to Lifestyle Pro.
EmblemMemberHi
If you take a look at
you will see where I have added 'eye beauty tips' to the new widget. This page has no sidebars at all. This is where I want the widget to appear throughout the site.However on the front page
and all post pages
the new widget appears at the top of the page and underneath the sidebars.The hook I am using is 'genesis_after_content_sidebar_wrap'. This worked perfectly well before I upgraded to Lifestyle Pro.
I have tried all the other hooks but nothing works for me.EmblemMemberContradiction. The widget is now showing but is not the position that I need.
EmblemMemberI have changed the hook to to the genesis_before_footer. It is not showing on the site.
If I add 'genesis_after_content_sidebar_wrap it only appears in the correct position on pages without any sidebar widgets.I have tried deactivating all plugins and adding it to another site. The same thing occurs. I think that I may be using the wrong code but I have tried many variations.
Please can you help as I need this widget for an advertiser.EmblemMemberEmblemMemberI have added the link http://www.eyebeautytips.com several times but it does not reflect in this post. Sorry if it just takes a long time.
EmblemMemberhi
I have just changed it to genesis_before_footer hook. However it takes a while for changes to show with or without caching plugin activated
I would like it to be site wide.
EmblemMemberAddendum
The widget works perfectly well on pages which have the full width layout such as
http://www.eyebeautytips.com/about/contact/EmblemMemberAddendum
The widget works perfectly well on pages which have the full width layout
such as
EmblemMemberHello
This is what I have in my functions.php file
genesis_register_sidebar( array( 'id' => 'after-content-ad', 'name' => 'After Content Ad', 'description' => 'This is a sidebar that goes after the content.', ) ); add_action( 'genesis_after_content_sidebar_wrap', 'custom_after_content_ad' ); function custom_after_content_ad() { genesis_widget_area( 'after-content-ad', array( 'before' => '<div class="after-content-ad widget-area">', 'after' => '</div>', ) ); }
Unfortunately the widget appears at the top of the home page next to the breadcrumbs. (marked by 't') Can you please tell me what I have done wrong?
EmblemMembersorted. thank you
-
AuthorPosts