Forum Replies Created
-
AuthorPosts
-
WhiteleyDesignsMember
Looks like a permalinks issue. Log in to your dashboard, go to Settings -> Permalinks and pick the 'Post Name' and click Save Changes and see if you have any luck.
Matt Whiteley – WhiteleyDesigns, GitHub
Designing, Developing & Creating with WordPressWhiteleyDesignsMemberbody .metro-pro-green .content .entry-comments-link a { background-color: #20be58; }
Matt Whiteley – WhiteleyDesigns, GitHub
Designing, Developing & Creating with WordPressWhiteleyDesignsMemberYep - pretty much anything is possible with Genesis, although you may need some developer help depending how detailed you want to get. If you look at my portfolio on my site probably 80% of the sites are built with the Genesis Framework.
Good luck!
Matt Whiteley – WhiteleyDesigns, GitHub
Designing, Developing & Creating with WordPressWhiteleyDesignsMemberYou could certainly create a font-page.php file, or create a different page template and set a static home page to that page and it would act the same way.
Another way to show the sidebar directly on a page template would be something like this:
<?php dynamic_sidebar( 'home-slider' ); ?>
Matt Whiteley – WhiteleyDesigns, GitHub
Designing, Developing & Creating with WordPressWhiteleyDesignsMemberI use WP Migrate DB when I move development sites to live:
https://wordpress.org/plugins/wp-migrate-db/
You'd just need to copy the wp-contents folder to the new locations, upload the database, make sure the wp-config is pointing to the correct database and you'd be good.
WP Migrate DB has a built-in find/replace tool so if you're changing URLs you simply use that to change it when you export.
Matt Whiteley – WhiteleyDesigns, GitHub
Designing, Developing & Creating with WordPressWhiteleyDesignsMemberYou would want to use media queries for that:
http://www.w3schools.com/cssref/css3_pr_mediaquery.asp
Basically, you apply different CSS inside each media query. Each media query describes a different element, such as screen size, screen type, device orientation. In simplest for you could use something like this:
@media (max-width: 499px) { p { font-size: 12px; } }
That would simply change the paragraph font size to 12px on any screens once the width goes under 500px, but would remain the normal font size you have set on anything over 499px. Hope that helps!
Matt
Matt Whiteley – WhiteleyDesigns, GitHub
Designing, Developing & Creating with WordPressWhiteleyDesignsMemberCredit to this post on stackoverflow:
Simply drop this in to your functions.php (in a child theme of course) and edit the src to your logo.
// Replace header hook to include logo remove_action( 'genesis_header', 'genesis_do_header' ); add_action( 'genesis_header', 'genesis_do_new_header' ); function genesis_do_new_header() { echo '<div id="title-area"><img src="your/logo/image.jpg" alt="Site Logo" />'; do_action( 'genesis_site_title' ); do_action( 'genesis_site_description' ); echo '</div><!-- end #title-area -->'; if ( is_active_sidebar( 'header-right' ) || has_action( 'genesis_header_right' ) ) { echo '<div class="widget-area">'; do_action( 'genesis_header_right' ); dynamic_sidebar( 'header-right' ); echo '</div><!-- end .widget-area -->'; } }
I use a similar technique on most of my sites but I call a new header.php template that I put into it's own folder and then I do all my code in the new header.php file I create. I think it keeps it more organized and structured. Stictrly a preferance thing:
//Edit the header layout remove_action( 'genesis_header', 'genesis_do_header' ); add_action( 'genesis_header', 'genesis_do_new_header' ); function genesis_do_new_header() { get_template_part( 'inc/header' ); }
You'd then create a header.php file and drop it into a new /inc directory in your child theme and edit as needed.
Cheers,
Matt
Matt Whiteley – WhiteleyDesigns, GitHub
Designing, Developing & Creating with WordPressFebruary 17, 2015 at 7:22 am in reply to: Default meta description to home description if emtpy #141092WhiteleyDesignsMemberHey Leif,
Thanks for the feedback. This is one of my go-to plug-ins for sure. I'd prefer to not use a plugin if possible, but you're right that this is the best solution currently.
Matt
Matt Whiteley – WhiteleyDesigns, GitHub
Designing, Developing & Creating with WordPressWhiteleyDesignsMemberNo prob. Glad it did the trick.
Matt Whiteley – WhiteleyDesigns, GitHub
Designing, Developing & Creating with WordPressWhiteleyDesignsMemberYou almost have it - you just need to right-align the text in the new 'right' div you created. So the css on that div should be:
.right { width: 400px; float: right; text-align: right; }
You'll want to make sure you edit the fixed pixel width objects to percentages when doing media queries to ensure it renders properly across smaller devices.
Matt Whiteley – WhiteleyDesigns, GitHub
Designing, Developing & Creating with WordPressWhiteleyDesignsMemberFor the navigation, if you plan on keeping that exact number of top level navigation links you could simply use CSS to expand them to fit the entire with, then center the text in each
- element like so:
nav .genesis-nav-menu .menu-item { width: 14.01%; } nav .genesis-nav-menu .menu-item a { text-align: center; }
For the phone number and social links, you'd need some more markup to get them to go where you'd like and stay in the correct order (ie. put a wrapper around all the nav items so they could be moved as a group). As you have it now you could do something like this, but your social links will be in reverse order:
.site-header .text-widget .center { text-align: left; } .site-header .text-widget .center a { float: right }
This certainly isn't ideal and you should add some markup to the header items so they can be positioned correctly.
Matt Whiteley – WhiteleyDesigns, GitHub
Designing, Developing & Creating with WordPressWhiteleyDesignsMemberHey,
I've run into the 'Cheatin Huh?' error a few times and you are correct that it is due to the roles and capabilities of the editor role. I've gotten around it using this in my functions.php file (in a child theme of course):
//Add manage_options role to editors to allow savings of options page $EditorRole = get_role('editor'); $EditorRole -> add_cap('manage_options');
This allows the editor role to access and edit options pages. I'm not 100% sure it will work in your case - but give it a shot.
Matt Whiteley – WhiteleyDesigns, GitHub
Designing, Developing & Creating with WordPress - element like so:
-
AuthorPosts