Forum Replies Created
-
AuthorPosts
-
Jared WilliamsMember
While it involves some small CSS, I did a tutorial on how to add a retina logo to the new Agency Pro theme which also uses the Custom Header function.
http://www.mediacrazed.com/tutorials/retina-logo-agency-pro-theme/
I know you don't want to use CSS, but it's not that much.
Jared WilliamsMemberJared WilliamsMemberJared WilliamsMemberTry installing the Genesis Featured Widget Amplified from Nick. That plugin extends what the built-in Featured Posts widget can do
Jared WilliamsMemberIt sounds like what you are seeing in your functions.php file is the Custom Background option.
// Add support for custom background add_theme_support( 'custom-background' );
This allows you to set a custom background through the Appearance Tab --> Custom Background
Similar to how you would add a custom header.
March 21, 2013 at 8:08 am in reply to: is_main_query returning false when trying to show must one category on home… #29934Jared WilliamsMemberSee this thread - http://www.studiopress.community/topic/number-of-blogposts-on-page/
And also Bill Erickson's post on modifying the query. - http://www.billerickson.net/customize-the-wordpress-query/
Jared WilliamsMemberMarch 20, 2013 at 8:00 am in reply to: is_main_query returning false when trying to show must one category on home… #29682Jared WilliamsMemberCan you provide a link to your site?
Metro uses the Featured Posts widget for all of the sections so adjusting the main query wouldn't work. If you want to only show 1 category you can choose which category from within the widget.
Or, are you just showing posts?
Jared WilliamsMemberThis can be done but will require some mods to your functions.php file.
In your functions.php file you need to add this code that was adapted from Bill Erickson's post on Customizing The WordPress Query
add_action( 'pre_get_posts', 'be_change_event_posts_per_page' ); /** * Change Posts Per Page for Event Archive * * @author Bill Erickson * @link http://www.billerickson.net/customize-the-wordpress-query/ * @param object $query data * */ function be_change_event_posts_per_page( $query ) { if( $query->is_main_query() && !is_admin() && $query->is_home() ) { $query->set( 'posts_per_page', '1' ); } }
You see this line:
$query->set( 'posts_per_page', '1' );
'1' is saying that we want 1 post to show on the home page. If you wanted 6, you would change the number.
You will then need to go into your Settings --> Reading and select the number of posts you would like to show up on the following pages. It defaults to 10.
I have tested this on an install of Education and it works.
Hope this helps!
Jared WilliamsMemberJared WilliamsMemberJared WilliamsMemberJared WilliamsMemberJared WilliamsMemberJared WilliamsMemberLooks like there is a space in the author URL
http://www.soldiersmoney.com/author/Curtez Riggs/
It should be - http://www.soldiersmoney.com/author/Curtez-Riggs/
Jared WilliamsMemberCheck this page out. It should help you customize the Post Info to work exactly how you want.
http://my.studiopress.com/snippets/post-info/#customize
Jared WilliamsMemberThis has nothing to do with the theme or the code but rather how you added the City. I just tested this on multiple AP installs and here is what you have done...
You have added a space after the City in the text field. You need to go in a make sure that there is no extra space. Just place your mouse and hit the backspace.
All will work.
Jared WilliamsMemberJared WilliamsMemberCheck your quotations in your links. You have way too many.
<a class="social-buttons" href="http://www.facebook.com/isportsweb">Facebook</a> <a class="social-buttons" href="https://plus.google.com/109450535379570250650">Google</a> <a class="social-buttons" href="http://www.youtube.com/user/isportsweb">YouTube</a> <a class="social-buttons last”= href="http://twitter.com/isportsweb">Twitter</a>
Jared WilliamsMember -
AuthorPosts