iand
Forum Replies Created
-
Forum: Plugins
In reply to: Showing metadata with get_recent_posts ?I once managed something similiar (I think). get_recent_posts can’t do the category but I used the following:
<?php c2c_get_recent_posts(1,'<div class="post"><h2>%post_date%</h2> <h2 class="title">%post_URL%</h2><div class="meta">Filed by: %post_author%</div><div class="content">%post_content% <div class="feedback">category | <a href=%comments_url%> %comments_fancy%</a></div></div></div>','','date','DESC','0','F jS, Y',''); ?>You should be able to copy and paste to get all the code.
Hope that helps.
Forum: Plugins
In reply to: Outputting stylesheet uri in a functionI was just doing that – using
$ss_directory = get_bloginfo('stylesheet_directory');worked perfectly. Thanks a lot.Forum: Plugins
In reply to: Outputting stylesheet uri in a functionThe function is question is here. At the moment I am defining $imagepath by hand and using
get_settings('siteurl') . ''.$imagepath.'/as an alternative.Forum: Plugins
In reply to: Outputting stylesheet uri in a functionThanks both. However, I am not after output on screen though, I am after output into a function and that will output on screen:
value of stylesheet uri -> myfunction -> screen outputForum: Everything else WordPress
In reply to: stevepavlina.com – php, the loop and wordpress?I cannot see the site (blocked from work) but as far as I understand it, the html source you see is the result of the php – for example
<?php the_date(); ?>outputs as<h2>November 22nd, 2005</h2>. Someone can probably explain better than me, but I think:
php (server-side) => (x)html (client-side).
So in answer to your questions:
(a) Probably. (b) See (a), and (c) Looks like he is using almost the default permalink structure.Forum: Fixing WordPress
In reply to: How to hide categories in category pulldownGive this plugin a go. Should do the trick.
Forum: Fixing WordPress
In reply to: How to generate those ‘hot topics’?Another Weighted Words and also Weighted Categories
Forum: Plugins
In reply to: Xbox Live GamecardDo you need a plugin? This user seemed to manage with out.
Forum: Fixing WordPress
In reply to: Hide something if custom field emptyUsing the get custom fields plugin I have used the following to hide content if the field it empty (in this case the ‘info’ field):
<?php $info = c2c_get_custom('Info');?>
<?php if ( $info == "" ) {echo "";} else {echo "<h2 id=comments>Notes</h2><div id=info>$info</div>" ;} ?>
Not sure if this will help but it might give someone else more ideas.Forum: Fixing WordPress
In reply to: comment moderation not filtering comments?As far as I know SK2 bypasses the built-in WordPresss comment moderation system. You could try this (SK2) plugin
http://wordpress.org/support/topic/38460Forum: Fixing WordPress
In reply to: How to remove “Edit” tag from posts…That should only be visible when you are logged in. Try logging out and having at look at your site then.
Forum: Fixing WordPress
In reply to: Users editing user postsThese threads should give you some direction:
http://wordpress.org/support/topic/39874
http://wordpress.org/support/topic/29221Forum: Fixing WordPress
In reply to: How to make posts per page differentYou have to edit the code of the plugin itself:
$posts_per['X'] = Y;
I think the custom query strings will also do a similar job, but with an admin interface:
http://mattread.com/projects/custom-query-string-plugin/.Forum: Fixing WordPress
In reply to: Can WP do this?Try searching (here and google) for ‘feedwordpress’. I think that should pull up some things that will do what you are looking for.
Forum: Fixing WordPress
In reply to: Video PodcastingThe rss feed for your movie category is
/category/movies/feed/(just tack feed onto your normal category view). I threw the full feed URI into iTunes and downloading the clip worked perfectly.