kev_120
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: get_bookmarks and wp_list_bookmarks not working.Maybe have single quotes in the parenthesis?
Forum: Fixing WordPress
In reply to: wp_list_bookmarks classes not working?Does this work for everyone else?
Forum: Plugins
In reply to: Automatically List All Pages of the Same ThemeFor a page template called ‘programs’ it would be:
<?php
$meta_key = ‘_wp_page_template’;
$template = ‘programs.php’;
$template_pages = $wpdb->get_col( $wpdb->prepare(“SELECT post_id FROM $wpdb->postmeta WHERE meta_key = %s AND meta_value = %s”, $meta_key, $template) );
wp_list_pages(‘include=’ .implode(“,”, $template_pages));
?>Thanks Michael!
Forum: Plugins
In reply to: Automatically List All Pages of the Same ThemeWhat I meant to say was:
“Does anybody have a piece of code for the WordPress 2.6 release that, when a page is brought up, it will list the links of all the other pages that use that same TEMPLATE automatically? Thanks!”
Forum: Plugins
In reply to: Automatically List All Pages of the Same ThemeYes, sorry for the incorrect vocabulary usage!
Forum: Fixing WordPress
In reply to: WordPress ignoring CSS?Thanks a lot Otto! That did it! While we’re on this topic, do CSS hacks not work with WordPress?
Forum: Fixing WordPress
In reply to: WordPress ignoring CSS?I’m sorry but the site is being a VPN and cannot be accessed. However, I can give you an example. In the ‘style.css’ file I have:
#header {
background-image:url(images/header-bg.jpg);
background-position:bottom;
background-repeat: no-repeat;
…
}which renders just fine. But in a specific template page I will have:
<head>
<style type=”text/css”>
#header {
background-image:url(http://cle.dev.ehe.osu.edu/wp-content/themes/CLE 2/images/lwc-logo.png);
}
</style>
…
</head>and it will not read the new image in as the background for the ‘header’ div.
Forum: Themes and Templates
In reply to: Listing Links to All Pages Using A Particular TemplateHey I appreciate the help man but it just brings up random pages from different templates. This will give me a good framework to mess around with but if you or anyone else were to stumble on the solution please don’t hesitate to post it 😉
Thanks!