Chip Bennett
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Theme not working. Help!You need to ask StudioPress, from whom you purchased the Theme. To repeat myself:
As these are commercial Themes, you will need to consult the support offerings of the developer, StudioPress. Part of your purchase price for the Themes includes support.
Forum: Themes and Templates
In reply to: Theme not working. Help!As these are commercial Themes, you will need to consult the support offerings of the developer, StudioPress. Part of your purchase price for the Themes includes support.
Forum: Fixing WordPress
In reply to: comments dont show on pages after upgradeSwitch your Theme, from your current Theme to the default Theme, Twenty Eleven.
Forum: Fixing WordPress
In reply to: Thumb problemsIf a Theme uses
thumb.php, in any shape or form, run away screaming and find a Theme that implements core WordPress featured images/post thumbnails.TimThumb is an inherent security risk, and an attack vector just waiting to be exploited.
Forum: Fixing WordPress
In reply to: New Site has blank homepageWhat Theme are you using?
If you enable WP_DEBUG, what Fatal Errors are generated on the site front page?
Forum: Fixing WordPress
In reply to: Remove sticky posts from "posts page"First: if you’re using the static page called “Ticker” for your blog posts index, then that page is not using the
sidebar-page.phptemplate file. Per the Template Hierarchy, the Blog Posts index uses, in descending order, only one of the following template files:1.
home.php
2.index.phpSo, since Twenty Eleven doesn’t include a
home.php, the page is actually being rendered usingindex.php.That’s really more just FYI, because the solution I propose doesn’t care what template file is being used. I would, instead of using
query_posts(), filterpre_get_postsinstead:function mychildtheme_filter_pre_get_posts( $query ) { if ( is_page( get_option( 'page_for_posts' ) ) ) { $query->set( 'ignore_sticky_posts', true ); } return $query; } add_filter( 'pre_get_posts', 'mychildtheme_filter_pre_get_posts' );Add that to your child Theme’s
functions.php file. It tells WordPress: “if this page is the page used to display the blog posts index, then modify the query to ignore sticky posts.”The great benefit of this method (in addition to being, generally, cleaner) is that the query is modified before posts are queried – meaning that everything – including pagination – will work entirely as expected.
Forum: Fixing WordPress
In reply to: Fatal error: Maximum execution time…Disable ALL Plugins, and switch (temporarily) to the Twenty Eleven Theme. Do you still observe this error?
Forum: Fixing WordPress
In reply to: comments dont show on pages after upgrade1) If you switch (temporarily) to Twenty Eleven, do you still observe this issue? If not, then the problem is Theme-related. In which case:
2) Where did you get the Apricot Theme?Forum: Themes and Templates
In reply to: Featured Image Size!As this is a commercial Theme, you will need to consult the support offerings of the developer, Elegant Themes.
Forum: Themes and Templates
In reply to: Error Message Showing Up on Live SiteAs this is a commercial Theme, you should consult the support offerings of the developer, Elegant Themes.
Forum: Fixing WordPress
In reply to: Include parent page in the child-, possible?Just the navigation menu of course
Oh, well that’s easy! 🙂
Be sure that your Theme supports the core Navigation Menus feature, then just go to Dashboard -> Appearance -> Menus, and create a menu with whatever structure you want, and assign it to the desired Theme Location.
Forum: Fixing WordPress
In reply to: Include parent page in the child-, possible?Let me try to rephrase. 🙂
Does the actual page structure need to be this way, or simply the navigation menu?
Forum: Fixing WordPress
In reply to: Include parent page in the child-, possible?I would like to make a page a child of itself.
There is no way for a page to define its own ID as
post_parent. The sky would probably fall on your head if you tried. 🙂Another question: why do you need/want to make a page a child of itself? What, ultimately, are you trying to accomplish?
Forum: Fixing WordPress
In reply to: Include parent page in the child-, possible?Can you describe, in human terms what you’re trying to accomplish?
I can’t tell from your structure what you’re actually trying to do. Are you trying to make a page a child of itself? Or are you merely trying to modify the page list output/display?
Forum: Fixing WordPress
In reply to: Add twitter code to a widgetWhat i can’t find is where the widget’s style is called. I guess that each widget calls the same style under style.css
Is this a good approach?Could someone tell me where to change that?
We’d need to see the relevant Widget code, in order to answer that question. I assume you added your Widget using the Widget API (“widget-name extends class WP_Widget….”)? If so, we need to see the
function widget()code from inside the class.