Chip Bennett
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Sidebar widgets not showingWhat Theme are you using?
Forum: Themes and Templates
In reply to: Purchased theme blocking features of WordPress and WooCommerceAs this is a commercial Theme, you will need to consult the support offerings of the developer, Mojo Themes.
Now, I’ve been in touch with both WESMASHED.IT and Mojo Themes, but nothing back yet – the “support” from WESMASHED.IT has been atrocious.
That is unfortunate, indeed. Equally unfortunate: as this is a commercial Theme, we really can’t help.
I have no idea who wesmashed.it is; I’ve never heard of them. Your best bet is probably to purchase the Theme directly from Mojo Themes, so that you’ll have access to the support they provide.
Forum: Themes and Templates
In reply to: creating a simple theme with menu that i can add pages toWordPress provides all of the CSS classes that you need for styling your navigation menu however you like.
The three primary functions for outputting navigation/page lists,
wp_nav_menu(),wp_page_menu(), andwp_list_pages(), all output their content as HTML lists. The horizontal, dropdown menu output by Twenty Eleven is all CSS-driven.Here are the CSS classes for:
* Lists generated by
wp_nav_menu()
* Lists generated bywp_page_menu()
* Lists generated bywp_list_pages()Forum: Themes and Templates
In reply to: Theme (or Plugin) with Style-able Sidebar NavigationWordPress provides all of the CSS classes that you need for styling your navigation menu however you like.
The three primary functions for outputting navigation/page lists,
wp_nav_menu(),wp_page_menu(), andwp_list_pages(), all output their content as HTML lists. The horizontal, dropdown menu output by Twenty Eleven is all CSS-driven.Here are the CSS classes for:
* Lists generated by
wp_nav_menu()
* Lists generated bywp_page_menu()
* Lists generated bywp_list_pages()For your case, I would recommend using
wp_list_pages().Forum: Fixing WordPress
In reply to: query_posts() troubleshootingOkay, let’s take one more stab at that callback:
function child_theme_ignore_sticky_posts( $query ) { // Only modify the main query if ( $query->is_main_query() ) { // Use Nacin's syntax $query->set( 'ignore_sticky_posts', 1 ); } } add_action( 'pre_get_posts', 'child_theme_ignore_sticky_posts' );Also: can you enable WP_DEBUG, and let me know if you get any specific Fatal Error messages?
Forum: Themes and Templates
In reply to: Where to start-Since the question is entirely Theme-specific, the best place to start would be the Oxygen Theme support forum. DevPress provides support here in the forums, so I’m sure they’ll be able to point you in the right direction.
Forum: Themes and Templates
In reply to: connecting my posts to my news page.Pastebin: http://pastebin.com
Also linked within the Forum Rules/FAQ. 🙂
Forum: Fixing WordPress
In reply to: query_posts() troubleshootingAnd one additional question: where did you put the code I posted? Did you put it in your template file, or did you put it in
functions.php. (Note: it belongs infunctions.php, not in a template file.)WordPress treats a Child Theme as a different Theme entirely. In fact, a Child Theme is a different Theme entirely; it’s just a special kind of Theme, that uses another Theme as a template.
So, yes: if you switch to a Child Theme, you will have to re-apply all of your settings and Theme-mod customizations (nav menus, Widgets, header/background, etc.).
Forum: Fixing WordPress
In reply to: query_posts() troubleshootingFound Nacin’s slides from his WC Portland 2011 presentation:
Forum: Fixing WordPress
In reply to: query_posts() troubleshooting@chip: Why is it batter not to use query_posts and implement anything else?
Because using
query_posts()is the worst possible method for modifying the main query. For several reasons. Nacin gave a great presentation about it recently; I’ll see if I can find his presentation slides, and link them here.Forum: Fixing WordPress
In reply to: TinyMCE and Editor StylesBecause I activated the Twenty Eleven Theme and added a style and nothing showed up in the styles dropdown. I am using TinyMCE Advanced.
TinyMCE Advanced and the Editor Style feature are two entirely different things.
This is the style I added.
.highlight {
color: red;
}Did you add this style definition also to
editor-style.css?Forum: Fixing WordPress
In reply to: query_posts() troubleshooting@chip : using pre_get_posts returns me an internal server error 500. Weird…
Sorry; that was an error on my part. I’ve fixed the callback:
function child_theme_ignore_sticky_posts( $query ) { $query->query_vars['ignore_sticky_posts'] => 1; // Forgot to return! return; } add_action( 'pre_get_posts', 'child_theme_ignore_sticky_posts' );Forum: Fixing WordPress
In reply to: query_posts() troubleshootingAssuming that you simply want to ignore sticky posts always:
function child_theme_ignore_sticky_posts( $query ) { $query->query_vars['ignore_sticky_posts'] => 1; } add_action( 'pre_get_posts', 'child_theme_ignore_sticky_posts' );If you want to conditionally ignore sticky posts, let me know what those conditions are.
Forum: Fixing WordPress
In reply to: TinyMCE and Editor StylesTwenty Eleven does have support for editor styles.
How do you know that it didn’t work when you switched to Twenty Eleven?