Forum Replies Created
-
AuthorPosts
-
February 21, 2013 at 10:36 pm in reply to: Minimum Theme – Best Practices for Featured Images #22138KraftMember
Okay, I can confirm it isn't working as I expected it. I'm bringing it to the lead dev's attention to verify it is a bug or actually intended.
In the meantime, you can add the following CSS in style.css to get it to work as expected. This would not adversely impact if you use the original featured image option or a future version of the plugin with this corrected. Thanks for alerting me.
img#featured-image {
width: auto;
margin: auto;
display: block;
}
Brandon Kraft
Volunteer
Blog | Twitter
Genesis eNews Extended SupportFebruary 21, 2013 at 10:19 pm in reply to: Minimum Theme – Best Practices for Featured Images #22134KraftMemberI'm checking into it; that's not the behavior I remember, but it's been a few weeks since I touched it.
Brandon Kraft
Volunteer
Blog | Twitter
Genesis eNews Extended SupportKraftMemberI'm not seeing the dotted line (at the moment), but assuming you're not an all-caps kind of gal, you can remove the text-transform: uppercase; line near line 1567 of style.css.
That would normal-case all H2's on your site. If you want H2's upper, just not the home titles, we can get a little more specific.
Brandon Kraft
Volunteer
Blog | Twitter
Genesis eNews Extended SupportKraftMemberHahaha.
That's a valid point and completely understandable. The absolute worst case would be to deactivate the plugin and it'll default back to showing the featured image above each post. The worst-case-prevention would be upload a larger image as the featured, letting WP resize, but as you stated, that's isn't always ideal.
A completely different alternative is to edit the theme directly to take out automatically using the featured image and then adding any large picture yourself in the editor. That would, though, be quite a bit different design-wise as it would fall under the title and within the smaller content area instead of full-width.
For what it's worth, the plugin is pretty simple and I'd be *shocked* if anything used is taken out of core (not using jQuery or something that could be updated in an unfavorable-for-the-plugin way, etc) . The only thing that may need to be updated at some point is for it to work with the new media manager, but it would be awhile before that was absolutely needed (as so many plugins, themes, etc use the older uploader). Just thinking aloud, I would think that if anything is depreciated that would render the plugin non-functional, would also knock out Minimum as a theme.
To the chagrin of some other CMS developers, WordPress has been insanely good at maintaining backward-compat when introducing new features.
Jesse and I (who have commit privs on it) aren't going anywhere either; Brian Gardner would kick our butts if we packed up and left town. Don't know if that helps any. 🙂
Brandon Kraft
Volunteer
Blog | Twitter
Genesis eNews Extended SupportKraftMemberExactly. With the plugin, set the featured image to what you'd like to use a thumbnail (since the featured image is where a lot of places/plugins pull from) and then upload a separate banner image when wanted.
One thing the plugin doesn't—yet—is allow you to completely turn off the big banner image (it will default back to the featured image if a banner isn't uploaded).
I added that as a feature request and will work on pushing that out in the next release of the plugin.
Brandon Kraft
Volunteer
Blog | Twitter
Genesis eNews Extended SupportKraftMemberI realize what's up now -- you're using version 1.01 of Minimum. I was assuming you were using the latest version.
So, to confirm, you want the button as seen in the new version of minimum at http://demo.studiopress.com/minimum ?
Adding this CSS to your style.css and then using the class as indicated above should take care of it.
a.page-title-button {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
background-color: #3e3e3e;
border-radius: 5px;
color: #fff;
float: right;
font-size: 24px;
margin: 7px 45px 0 0;
padding: 11px 20px 10px;
}a.page-title-button:hover {
background-color: #ed702b;
}
Brandon Kraft
Volunteer
Blog | Twitter
Genesis eNews Extended SupportKraftMemberHi!
If you're wanting to mimic the "Subscribe Now" button as seen as the demo, you just need to add a particular class to your link.
For your "Member Login" case, add a link as such:
<a class="page-title-button" href="http://LOGINlocation">Member Login</a>.
Hope that helps!
Brandon Kraft
Volunteer
Blog | Twitter
Genesis eNews Extended SupportKraftMemberMy two cents is install this plugin:Â http://wordpress.org/extend/plugins/genesis-minimum-images-extended/
Jesse Petersen (along with myself, Nick the Geek, and Robert from FAT Media) put this plugin together to help with some of the issues we faced with Minimum.
1. The featured image is also (likely) used by Facebook, etc as a thumbnail when sharing, so a big rectangular image may not crop/reduce down to look good.
2. But, an image that looks good in the smaller thumbnail likely won't above the fold on a post in Minimum.
With the plugin, I'd have a "featured image" that looks good as a square. If you upload something larger than the thumbnail size, WordPress will create a smaller version of the image. Your site speed wouldn't be impacted by this (though, both versions of the image are on your server, so if you upload all 3000x3000 images, you'll use a lot of space!)
Then, again with the plugin, you can upload "banner" images that better fit the rectangular space. 1600px width is what the theme is prepared to handle, but it would use smaller if you uploaded it. It'll take up as much height as you give it.
The plugin will default back to the featured image if no banner is uploaded.
I hope that helps some!
Brandon Kraft
Volunteer
Blog | Twitter
Genesis eNews Extended SupportKraftMemberHmm.. Testing it out, it seems to be an issue on any theme if you set it up like that. So, let's punt to a different suggestion and ignore that issue.
In your functions.php file, look for the line that starts with
add_action( 'template_redirect', 'familytree_conditional_actions' );
Replace that line and the lines that follow (up to, but including the random-looking } with the this code.If you compare the original with what I linked, all we are doing is adding "|| is_home()", which is telling WP to apply the fancy dates to the home page as well.
The Settings->Reading should be set to "your latest posts".
Brandon Kraft
Volunteer
Blog | Twitter
Genesis eNews Extended SupportKraftMember🙂
[I don't see the link on the forum page, so reposting for future viewers. Code to redirect on logout. ]
Brandon Kraft
Volunteer
Blog | Twitter
Genesis eNews Extended SupportKraftMemberThanks for sharing that. I've used some third-party systems (disqus is what I use currently) and have been spared mostly. I still get more trackback spam than I'd prefer.
Spammers, bleh.
Thanks again.
Brandon Kraft
Volunteer
Blog | Twitter
Genesis eNews Extended SupportKraftMemberYou should be able to copy and paste this into the end of your functions.php file:
That'll change the logout URL to whatever the site URL is configured to be.
Brandon Kraft
Volunteer
Blog | Twitter
Genesis eNews Extended SupportKraftMemberI *think* this will do it for you...
(you may have already done the first part of this...)
1. Create a new page for your site. Title it whatever you want (Home), etc. Content doesn't matter.
2. On the right-hand side, under the publish button, look for Page Attributes.
3. Change Template from Default Template to Blog
4. Save.(this is what is new, I think).
5. Go to Settings->Reading from the left-side nav in wp-admin
6. Change Front Page displays from "your latest posts" (which home.php uses) to A static page
7. Choose the new page you made (or your existing blog page).
8. Save
Brandon Kraft
Volunteer
Blog | Twitter
Genesis eNews Extended SupportKraftMemberI really like Metro too. It's a great theme!
Brandon Kraft
Volunteer
Blog | Twitter
Genesis eNews Extended SupportFebruary 5, 2013 at 2:18 pm in reply to: How to remove the word "Protected:" on a password protected page? #18298KraftMemberAdd the code from this gist to your functions.php file:
https://gist.github.com/kraftbj/4717300
Brandon Kraft
Volunteer
Blog | Twitter
Genesis eNews Extended SupportKraftMemberGet with the times and trade in the Model T! 😉
Brandon Kraft
Volunteer
Blog | Twitter
Genesis eNews Extended SupportKraftMemberYeah - you can download Genesis (parent) again and replace everything in your genesis folder, then remake the mods in the sample child theme.
For you or anyone else who stumble across this post, you don't want to edit the parent /genesis/ theme at all as when a new version of Genesis is released, all modifications would be lost on update. No good!
Brandon Kraft
Volunteer
Blog | Twitter
Genesis eNews Extended SupportKraftMemberFirst, as a reminder, be sure to use a child theme for any modifications. To make the default Genesis theme a child theme, use this: http://www.studiopress.com/free-themes/sample
On the 1.9 default, they changed the way they hid the submit button from how they did it in Minimum.
At or about like 1136, you'll see
.enews input[type="submit"], .search-form input[type="submit"] {
with border 0, clip: rect(0,0,0,0), etc.If you want to get the submit button back for both the enews widget and the search feature (header right on the demo), remove that CSS section.
If you want just the .enews submit to return, remove
.enews input[type="submit"],
from that line.The simplest way to see how they hid it is check out the page using either Chrome's Developer Tools, Firebug or your tools of choice for your browser. You'll always see the submit button in the html code, so the corresponding CSS will show you the trick they used this time to hide it 🙂
Brandon Kraft
Volunteer
Blog | Twitter
Genesis eNews Extended SupportKraftMemberYeah, it's not used. It's kinda funky - you have to be logged into WordPress.org and visit the plugin's page to vote on that.
Plugin authors can update the readme.txt in their plugins (that populate the info seen in the wordpress.org page for the plugin) without uploading a new version. I think encouraging plugin authors to do that would be the best prospect for success.
Good idea.
Brandon Kraft
Volunteer
Blog | Twitter
Genesis eNews Extended SupportKraftMemberWhat OS are you on? I'm trying to recreate the issue on my end to see if I can figure it out.
FWIW, it looks right on Windows 8 on latest versions of Chrome, Firefox and IE.
Brandon Kraft
Volunteer
Blog | Twitter
Genesis eNews Extended Support -
AuthorPosts