Osu
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Stickys not working when specifying category with query_posts()This might be of use to those looking for the same solution:
Forum: Fixing WordPress
In reply to: Stickys not working when specifying category with query_posts()Thanks for this chinmoy29, but it’s when I specify a category in query_posts that stickys aren’t shown. Any ideas why?
Thanks
Forum: Fixing WordPress
In reply to: wp_list_bookmarks() – how to show link *category* descriptionThanks esmi, but that doesn’t show how to get the link *category* description from what I can see, only echos out the individual descriptions for each link. Any idea how to grab that description? In the admin end of WP it says:
“Description (optional)…The description is not prominent by default; however, some themes may show it.”
So I’m assuming it is possible to use it in my theme…
Forum: Fixing WordPress
In reply to: Threaded comments reply link disappears after 3 levelsI think you’re right – searching further I heard the same thing on another forum, which means you have a maximum of 2-10 replies per thread which for me is limited.
Still, I suppose you have to put limits somewhere. Thanks for your reply!
Forum: Fixing WordPress
In reply to: Multiple loops in different template files without duplicates?That worked a treat! Thanks!
Only thing is that it was counting the number of posts in the main loop as well as the additional one, meaning that after I added global $do_not_duplicate; to both the main loop and footer template files, I had to change the footer.php file to this:
<ul class="fbox"> <li class="heading"><h3>Other news</h3></li> <li class="description">Other news from the all regions</li> <?php // This is the additional loop // To maintain five posts in the footer 'Other news' box, need to add count to WP_Query argument // as $fiveposts = count($do_not_duplicate); $fiveposts = $fiveposts + 5; $my_query = new WP_Query('cat=1&showposts=' . $fiveposts . ''); while ($my_query->have_posts()) : $my_query->the_post(); if ( !in_array( $post->ID, $do_not_duplicate ) ) { ?> <li> <h2 class="entry-title"> <a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'templatename' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a> </h2> </li> <?php } endwhile; ?> <li class="highlight"><a href="<?php bloginfo('url') ?>/?cat=1">See all news</a></li> </ul>By the way, out of interest, is there any security issues with making variables global like this?
Forum: Fixing WordPress
In reply to: Best practice for setting up WP as a CMS?That’s kind of what I’ve been doing, but I’ve seen a few other people using just posts for a CMS, so it interested me as to why they would do that.
Thanks for flagging up those links, interesting reads.
Forum: Plugins
In reply to: [Plugin: Gigs Calendar] Messed up clone of plug on local environmentThought as much…no help available right?
Forum: Plugins
In reply to: Can someone help me with my first widget please?Thanks for getting back to me Roger,
I looked at the source code and it’s totally blank, so I guess PHP error messages are off, or something is wrong with my code above that is messing up another function or class in WP.
This is really confusing me, I have no idea what it might be – I even tried using a tutorial to create a new plugin which was almost identical and that worked fine.
Strange
Forum: Fixing WordPress
In reply to: Media Library ImportWould you be able to take me through the steps of doing this please? Sorry, I find MySQL and WordPress combined difficult to understand.
Thanks
Forum: Plugins
In reply to: [Users to CSV] Failing to open the CSV fileHi,
I edited that line of code, and can open it with a basic text-editor, but not with Excel 2008. Is there a reason for that and is it important?
Thanks
Forum: Plugins
In reply to: show/hide links pluginI’ve also been searching high and low for this one – has anyone got a solution? It would be EXTREMELY useful.
Thanks
Forum: Fixing WordPress
In reply to: Tiger Style Admin ruins my writing spaceTry using the Firebug extension in Firefox to identify how the textarea is being styled. The Tiger Style admin plugin is based only on CSS changes I think, so my guess is that it will most likely be a CSS issue.
Once you’re found the tag being affected, look at the properties of the inspected element and mess around with the element’s parameters (in particular, widths, padding and margin values) to see if you can make a simple CSS change. I haven’t installed the Tiger plugin, but it will have it’s own CSS sheet that it references. That’s what you’ll want to edit.
Make a backup first!
Cheers
Forum: Fixing WordPress
In reply to: Need to display category posts in templateAm I right in thinking that WordPress is a waste of time as a more conventional CMS?
I get the impression that either this forum is dead, no-one knows how to use it in this capacity (which goes against what this site lists here: ‘kick-ass examples of WordPress being used as a CMS’: http://codex.wordpress.org/User:Matt/WP_as_CMS), or alturism/helping people with this type of topic has ground to a halt.
As you can tell, I’m fairly desperate to use WP as a CMS as I was under the understanding it has the potential. It fits the bill perfectly in many other respects, but someone please tell me if I’m wasting my time.
Forum: Fixing WordPress
In reply to: How do I display category posts only?That’s poor, I can’t believe no one needs this type of basic functionality in WordPress and will be amazed if this isn’t possible. All I need is to have the posts in a category listed when the category is selected/active.
Is there really NO-ONE out there who knows this?
Forum: Fixing WordPress
In reply to: How do I display category posts only?Anyone?