norbiu
Forum Replies Created
-
Forum: Plugins
In reply to: Exclude keywords from query_posts?bump
Forum: Plugins
In reply to: add_post_meta adding extra record in post_meta.Same problem, does anybody have a solution? That post_id = 0 in the wp_postmeta table is causing the fileds to show when adding a new post. When the fields are filled in and the post is published, the data isn’t inserted into the db.
Forum: Fixing WordPress
In reply to: Custom Field Doesn’t Insert After PublishingNothing?
Forum: Fixing WordPress
In reply to: Custom Field Doesn’t Insert After PublishingThis is a duplicate. Please remove.
Forum: Fixing WordPress
In reply to: Entry / Entries After Category CountDoesn’t seem to work. The count is always showing 3.
Forum: Fixing WordPress
In reply to: Get Theme Options Not WorkingMost of those tutorials use the same method.
Using <?php echo get_option(‘grd_portfolio_title’); ?> doesn’t solve my problem with the slashes though.
Forum: Fixing WordPress
In reply to: Get Theme Options Not WorkingI used this one:
http://blog.themeforest.net/wordpress/create-an-options-page-for-your-wordpress-theme/
and followed the demo precisely, but it still fails.
Forum: Fixing WordPress
In reply to: HTML Code Inside Theme Option Input Fields?I used stripslashes for calling the info from the theme options
<?php global $options; foreach ($options as $value) { if (stripslashes(get_option( $value['id'] )) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = stripslashes(get_option( $value['id'] )); } } ?>and htmlspecialchars() for the value of the input inside the options.
Forum: Fixing WordPress
In reply to: Add class to last item in wp_list_pages?I used jquery.
$(document).ready(function() { $("ul#nav li:last").children().addClass('last'); });Forum: Fixing WordPress
In reply to: How to remove links from the_tags?Yep, found it. Thanks!
<?php $posttags = get_the_tags(); if ($posttags) { foreach($posttags as $tag) { echo $tag->name . ' '; } } ?>