Forum Replies Created
-
AuthorPosts
-
Brad Dalton
ParticipantBrad Dalton
ParticipantYou could use the Widget Logic plugin and display specific widget content on the homepage only.
This plugin may also help http://wordpress.org/extend/plugins/genesis-layout-extras/
Brad Dalton
ParticipantBrad Dalton
ParticipantWhere did you get the code from?
Why don't you add a widget or try one of these code snippets https://gist.github.com/braddalton
Brad Dalton
ParticipantYou can align the image when you insert it into a new post before you copy the images HTML code and also use the advanced image settings or add CSS declarations to the class.
Brad Dalton
ParticipantAnother way to do this is to install this plugin http://wordpress.org/extend/plugins/wp-display-header/
Brad Dalton
ParticipantBrad Dalton
ParticipantBrad Dalton
ParticipantBetter using a custom function.
Paste this PHP code at the end of your child theme functions.php file.
Change the genesis hook and conditional tag if needed.
Hard to clearly understand what you need. Is it 2 images in different pages? Please link to the 2 pages.
Exactly which hook location do you want to display the images?
You can also use CSS code to display different header images using the page i.d from the source code:
PHP code is more powerful and flexible.
Brad Dalton
ParticipantNot a problem. Depends on where you want to display the image but its easily done.
March 21, 2013 at 5:45 am in reply to: How to modify home page h1 tag on Metric (with AIOSEO installed) #29896Brad Dalton
ParticipantBrad Dalton
ParticipantBrad Dalton
ParticipantAdd this to the end of your child themes style.css file.
.category .post-info, .post-meta { display: none; }
Brad Dalton
ParticipantBrad Dalton
ParticipantCreate the sub domain first.
Then go to Simple Scripts and select the sub domain from the drop down list to install WordPress.
If you get stuck, Bluehost offer a 24/7 online chat.
Brad Dalton
ParticipantYes
What's the url to the new landing page
.page-template-download-page-php?
Grab the post i.d for that page and modify this code replacing the 7 with the page i.d:
.page-id-7 .entry-title { display: none; }
Brad Dalton
ParticipantMaybe you should add that back because its probably there for a reason. I don't have a copy of your theme because its not one of the SP child themes.
Can you email me a fresh copy please. [email protected]
Brad Dalton
ParticipantIts a problem with the code or a div tag which isn't closed properly.
I added the option for the layout back in the functions.php
Paste the code here please using FAQ 5 for code snippets.
Brad Dalton
ParticipantImport the XML file included in the child themes folder using the WordPress tool import.
March 21, 2013 at 1:38 am in reply to: Crystal Theme: Replacing Home Left and Home Right Slider with One slider #29872Brad Dalton
ParticipantThere's different ways to do this:
You could install the Genesis Simple Hooks plugin and paste the HTML for your image into the genesis_after_header hook field and retain your home top widgets so your image displays before these widgets.
You could remove the home top left and right widgets and replace them with a full width widget area using a custom function.
Or remove the widgets and simply display an image after your header using simple hooks:
Removing home top left and right widgets:
Remove this code from your home.php file. (backup first)
<div id="home-top"> <div class="home-top-shadow"></div> <div class="home-top-left"> <div class="wrap"> <?php if (!dynamic_sidebar('Home Top Left')) : ?> <div class="widget"> <h4><?php _e("Home Top Left", 'genesis'); ?></h4> <p><?php _e("This is a widgeted area which is called Home Top Left. It is using the Genesis - Featured Page widget to display what you see on the Crystal child theme demo site. To get started, log into your WordPress dashboard, and then go to the Appearance > Widgets screen. There you can drag the Genesis - Featured Page widget into the Home Top widget area on the right hand side.", 'genesis'); ?></p> </div><!-- end .widget --> <?php endif; ?> </div><!-- end .wrap --> </div><!-- end .home-top-left --> <div class="home-top-right"> <div class="wrap"> <?php if (!dynamic_sidebar('Home Top Right')) : ?> <div class="widget"> <?php if( function_exists('wp_cycle') ) : ?> <?php wp_cycle(); ?> <?php endif; ?> </div><!-- end .widget --> <?php endif; ?> </div><!-- end .wrap --> </div><!-- end .home-top-right --> <div class="clear"></div> </div><!-- end #home-top -->
There's other ways to display an image in any genesis_hook location using custom functions:
Gist not displaying? Grab the code from github
-
AuthorPosts