Chris Knowles
Forum Replies Created
-
Forum: Plugins
In reply to: [IssueM] Article Spacing on Front Page Featured ThumbnailsJon,
This float issue occurs when the thumbnail containers are an inconsistent height – in your site’s case, the Jonah entry is 30 pixels shorter than the other entries.
The easiest way to fix this is to give the container a fixed height. Your containers are mostly 391.5px tall so add the following to your site’s style.css file:
?.issuem-featured-article-thumb {
? height: 400px;
?}
?
Regards,Chris
Great, thanks Kathryn.
Forum: Themes and Templates
In reply to: [Bushwick] mobile layout glitchyI was getting this problem too – demo fine but self-hosted, the images weren’t going full-screen.
Using a Custom CSS plugin, I overrode the local CSS with the WordPress.com CSS and then just kept on deleting until I found the CSS clause that gave me full-width images (scientific, I know).
And here it is:
.screen-reader-text { position: absolute; left: -1000em; }
Not displaying the .screen-reader-text classed elements also works:
.screen-reader-text { display: none; }
A post has a second h1 element with the .screen-reader-text class but a page doesn’t which perhaps explains why pages look okay on tablets but posts don’t.
Hopefully this helps those having the problem.
And maybe the theme download can be updated?
Forum: Plugins
In reply to: [BuddyPress Group Email Subscription] BuddyPress version questionSorry, should have been more descriptive. There is no “Email Options” tab.
However, on further investigation I’ve found that this is because I had set-up a minimal BuddyPress install and not activated the Activity Streams component. As soon as I activated it, the Email Options tab appeared.
False alarm!
Forum: Plugins
In reply to: [BuddyPress Group Email Subscription] BuddyPress version questionI’m not seeing anything on the following set-up :
WP 3.5.1
BuddyPress 1.7.1
bbPress 2.3.2I have WP-DEBUG set to true, but no messages.
I’d really like the functionality of this plug-in – can anyone confirm that it works with 1.7.1?
Forum: Themes and Templates
In reply to: [Oxygen] [Theme: Oxygen] Use Custom Post Types on Front PageThere are 2 steps to get custom content types onto the front page:
1. Enable the location meta box on the content types
2. Change the queries so that custom types are includedIf you haven’t already created a child theme then you should do so, as it is much easier to keep track of your modifications and remove them, if necessary.
1. If you don’t already have a functions.php in your child theme, create one. Then add the following:
add_action( 'add_meta_boxes', 'oxygen_create_metabox_2' ); function oxygen_create_metabox_2() { add_meta_box( 'oxygen_metabox', __( 'Location', 'oxygen' ), 'oxygen_metabox', '<content-type-name>', 'side', 'low' ); }
Add an add_meta_box call for each content type. Remember to use the plural name for your type, so “types” not “type”.
Edit a custom type entry and you should now see the Location metabox.
2. To get the content in the featured slider, copy the themes/oxygen/featured-content.php to your child theme folder.
Near the top, where the $args variable is defined, we need to add the “post_type” argument and set it to “any”, as follows:
$args = array( 'posts_per_page' => 6, 'meta_key' => '_oxygen_post_location', 'meta_value' => 'featured', 'post__not_in' => get_option( 'sticky_posts' ), 'post_type' => 'any' );
If you have assigned some of your custom content types to the “featured” location then you should see them in the slider.