Edward Caissie
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 2010 Weaver Theme : Call to undefined function: fprintf()You can drop in my BNS Support plugin to find the PHP version of your site if the holiday season makes it difficult to reach your web host provider.
Forum: Themes and Templates
In reply to: How do I install an extension?This article may help with installing a plugin, too: http://wpfirstaid.com/2009/12/plugin-installation/
Forum: Fixing WordPress
In reply to: Making specific text widget image appear on only one pageThis plugin may help although you might also consider contacting the author on when it will be updated next: http://wordpress.org/extend/plugins/xwidgets/
Personally, I have not used it except to test some time ago so this is only a suggestion … good luck.
Forum: Hacks
In reply to: Remove Loop to Show One Specific Post on Main PageThis may work for you:
<?php query_posts( 'p=63&posts_per_page=1' ); ?> <div id="content"> <?php if(is_home()) { include (TEMPLATEPATH . '/featured.php'); } ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> ... <?php wp_reset_query(); ?>The query_posts() call will pull post with ID 63 and although not necessary it restricts the posts to one per page as well. The ‘reset’ at the end just insures you are not stomping on any other queries that follow this code (just put it right after the end of the_Loop for this single post).
Forum: Plugins
In reply to: display user role on profile pageI use this snippet in my BNS Support plugin to show the current user’s role which may accomplish what you are looking for:
$user_roles = $current_user->roles; $user_role = array_shift($user_roles); echo '<strong>Current User Role</strong>: ' . $user_role;It will only show the first role if the user has more than one assigned to them.
Forum: Plugins
In reply to: [BNS Featured Tag] [Plugin: BNS Featured Tag] Can't get thumbnails to work‘Content Thumbnail Size’ and ‘Excerpt Thumbnail Size’ simply allows you to have a different size based on how you are displaying the selected posts. These options are more relevant when using the ‘shortcode’ for the plugin on pages and posts.
As to the thumbnails not working, do your posts (or does your theme) use the Featured Image function?
Forum: Plugins
In reply to: [BNS SMF Feeds] [Plugin: BNS SMF Feeds] User name and password for rssJust saw this post …
The plugin only reads the RSS feed that is publicly available, it does not pass any information to the forum the feed is being generated from.
As to the rest of what you are asking, it has given me the idea to add a ‘shortcode” to the plugin so you can place it within a page or post.
I will note this for a future release. Thanks!
Forum: Themes and Templates
In reply to: Can I modify free theme for commercial site?I think the WordPress Philosophy exlpains this rather well: http://wordpress.org/about/philosophy/ … just scroll down to the “Our Bill of Rights” section at the bottom of the page.
To paraphrase, at least as far as the themes I have released under GPLv2 into the WordPress repository: “It’s yours … have at it!”
Forum: Installing WordPress
In reply to: Just bought domain, I'm stuck.You will need some sort of “web host” service from someone, it doesn’t have to be GoDaddy its just common practice for web hosting services to be offered with domain name registrations.
Without some sort of web host service you will not be able to use your domain name for WordPress or most anything else.
It is possible to wrap the widget Title output in an anchor tag but you will need to make some significant edits to the plugin to accomplish what you are describing.
Forum: Fixing WordPress
In reply to: remove permalink from comment dateYou might be able to use the ‘callback’ parameter to re-write the output … see this link for more details: http://codex.wordpress.org/Function_Reference/wp_list_comments
Forum: Themes and Templates
In reply to: encrypted footer codes in bottom of free wordpress themesA message has been sent to the theme author regarding this issue, too.
Forum: Fixing WordPress
In reply to: Redirect after login form on siteThis codex page should help some: http://codex.wordpress.org/Function_Reference/wp_login_form
You should just be able to set the ‘redirect’ parameter to the particular URI you want.
Forum: Fixing WordPress
In reply to: single_cat_slug()?I use this in one of my themes (in the category.php template):
<?php /* used to create dynamic category link */ $curr_cat = single_cat_title( '', false ); $cat_id = get_cat_ID( $curr_cat ); $category_link = get_category_link ( $cat_id ); ?>You could probably strip out the category slug from the end of the ‘$category_link’ if you need the slug only.
Forum: Fixing WordPress
In reply to: Anchor links doens't work on my templateSince you wrote “I bought a wp template” … have you tried contacting where you purchased the theme for assistance?