ThemesWPfree.net
Forum Replies Created
-
If anyone would be interested here is a work around solution which I’m using for now.
It’s a filter located in functions.php file, which overwrites default template file if the page has a ‘post’ type and URL includes custom-post-type slug.
// Template selection
function custom_template_include($incFile) {
$url = $_SERVER['REQUEST_URI'];if ( (get_post_type() == "post") && (strpos($url, "/custom-post-type-slug/") !== false) ) {
if (have_posts()) {
$file = TEMPLATEPATH.'/single-custom-post-type.php';
if (file_exists($file)) {
$incFile = $file;
} else {
$wp_query->is_404 = true;
}
} else {
$wp_query->is_404 = true;
}
}return $incFile;
}
add_filter('template_include', 'custom_template_include');Hey,
Great to hear you like our theme!
To remove post meta box from the category pages (ex. https://citronellacandlesonline.com/candles-supplies/) you would need to edit archive.php file and remove line 41, which starts with <p class=”postmetadata”>…
To remove post meta box from individual blog posts (ex. https://citronellacandlesonline.com/candle-supplies/) you would need to edit single.php file and remove lines 23 to 49, starting with <p class=”postmetadata”>… and ending with </p>
Hope it helps!
FreeThemeForWP.com Team
I’ve just upgraded to 2.3.3 and I can see it on the Settings page.
Thanks Joe!
Forum: Plugins
In reply to: [Plugin: WordPress Navigation List Plugin NAVT] Can not move NAVT widgetSame here, WordPress 2.8.5