Forum Replies Created
-
AuthorPosts
-
swansonwcMember
Hi Victor,
Yes, deactivating the minify plugin (I also deactivated a caching plugin just-in-case) did the trick. Thank you for your help.
Best regards,
BillswansonwcMemberI figured out the problem. The index.cfm on the second line overrode all of the lines below. I've moved it to the bottom, and all redirects are working now.
swansonwcMemberThank you both for getting back with me.
I considered setting up the image download page with instructions to "right-click and choose save as", but I'm hoping to make it simpler. That's how I set it up for image downloads on my wife's last site.
Antic - I'll look into rtMedia, and see where they are with the possible plugin. Thank you for checking into this.
Best regards,
BillJune 3, 2013 at 7:56 am in reply to: Add Featured Pages to Already Altered Static Homepage in Streamline #43811swansonwcMemberChris,
Thank you for responding to my post.
I added the Genesis Responsive Slider to the custom sidebar area that I created. However, I didn't create a custom sidebar for the Featured Page Widget, because it already exists on the functions.php page:
`genesis_register_sidebar( array(
'id' => 'home-featured-1',
'name' => __( 'Home Featured #1', 'streamline' ),
'description' => __( 'This is the featured #1 column on the homepage.', 'streamline' ),
) );
genesis_register_sidebar( array(
'id' => 'home-featured-2',
'name' => __( 'Home Featured #2', 'streamline' ),
'description' => __( 'This is the featured #2 column on the homepage.', 'streamline' ),
) );
genesis_register_sidebar( array(
'id' => 'home-featured-3',
'name' => __( 'Home Featured #3', 'streamline' ),
'description' => __( 'This is the featured #3 column on the homepage.', 'streamline' ),
) ); `I did add the Featured Page widget to this sidebar, but it doesn't show up because I'm not using the home.php page. Here's the code on the home.php page that I think should go on the functions.php page:
`add_action( 'genesis_meta', 'streamline_home_genesis_meta' );
/**
* Add widget support for homepage.
*
*/
function streamline_home_genesis_meta() {if ( is_active_sidebar( 'home-featured-1' ) || is_active_sidebar( 'home-featured-2' ) || is_active_sidebar( 'home-featured-3' ) ) {
add_action( 'genesis_before_content_sidebar_wrap', 'streamline_home_loop_helper' );
}
}/**
* Display widget content for home featured sections.
*
*/
function streamline_home_loop_helper() {if ( is_active_sidebar( 'home-featured-1' ) || is_active_sidebar( 'home-featured-2' ) || is_active_sidebar( 'home-featured-3' ) ) {
echo '';
echo '';
dynamic_sidebar( 'home-featured-1' );
echo '';echo '';
dynamic_sidebar( 'home-featured-2' );
echo '';echo '';
dynamic_sidebar( 'home-featured-3' );
echo '';echo '';
}
}`
This is the code that added the slider to the static page (page id 2), and this is the page where I'd like the Featured Page widget to show up above the slider:
`add_action( 'genesis_before_loop', 'child_before_content');
function child_before_content() {
if ( is_page(2) ){ echo '';
dynamic_sidebar( 'home-custom' );
echo '';
}}
`I hope that the above is concise enough to help.
Thanks for your help,
BillswansonwcMemberBrad,
Worked perfectly. Thank you.
Best regards,
Bill
swansonwcMemberHi Brad,
I've had a chance to implement your code, and the slider is working well -- except that it is on all pages. The conditional code to limit the slider to the home page didn't work, because I changed the home page to a static page using the 'sample page'. The post ID for the sample page is 2. Can I use the ID number in an if statement to limit the slider to the home page?
Best regards,
Bill
swansonwcMemberBrad,
That's outstanding. Thank you!
Yeah, I figured I had put the code in wrong. I'll use your suggestions in the morning and get back with you on the results.
Best regards,
Bill
swansonwcMemberThank you both for checking it out. I cleared my cache, and it is still the same on my computer. It's good to know the problem is just on my system.
Best regards,
Bill
swansonwcMemberHi Greg,
Thanks for helping with my question.
There should be several submenu items visible off the link to my wife's profile. Here's a link to a picture describing the problem: http://motivational-speakers-review.com/wp-content/uploads/2013/02/MenuIssue.jpg
The red box shows where several submenu items should appear.
Best regards,
Bill -
AuthorPosts