thekelpie
Forum Replies Created
-
Forum: Plugins
In reply to: How to get quicktags to work on title?That’s exactly what I need. Will post here if I find anything.
Forum: Fixing WordPress
In reply to: RSS feed delay in updatingThrough various Internet feed services, but of several WordPress sites this is the only one with a delay of more than a few minutes. The site is now in the hands of my client, so further experimentation will need to go through him. Will report back here if I solve it.
Forum: Fixing WordPress
In reply to: RSS feed delay in updatingNo, not running the wp-cache plugin. Thanks for the suggestion though.
Forum: Fixing WordPress
In reply to: Dynamic Menu Highlighting and FgalleryFor anyone else, I found a slightly clumsy solution to this. I excluded my gallery page from wp-list-pages and inserted it manually at the end of the list. Since WPG2 uses a different header to the other pages, I was able to make its menu state “current” when the gallery page is shown.
Forum: Fixing WordPress
In reply to: Dynamic Menu Highlighting and FgalleryI’m having a similar problem, I think. I’m using the WPG2 gallery plugin and have dynamic menu highlighting on my site. I created a page called “gallery” and used the redirectify plugin to show the gallery content when a user clicks on that page. But the redirection means the gallery link is not highlighted as current in my page menu. Any suggestions welcomed for a way around this.
Forum: Themes and Templates
In reply to: Displaying Children When Viewing 1 ChildOkay, for anyone else who comes across this thread, I managed to get what I wanted using the fold_page_list plugin and adding some css for page ancestors.
Forum: Themes and Templates
In reply to: Displaying Children When Viewing 1 ChildThanks to Kafkaesque for the above code. I’m using it with the K2 theme to create a subpage menu under the main nav bar. I’ve got it working nicely, but there’s just one niggling thing: when I’m on a subpage, I’d like its parent page (as well as the subpage itself) to be highlighted in the main nav bar, for a sort of breadcrumb effect. The stylesheet tells the menu item for the current page to have a certain background colour – but is there a way of also making the parent menu item a particular colour?
Is this even possible? Thanks again for a really useful piece of code.
Forum: Installing WordPress
In reply to: 1and1 blog install – where is it?For anyone else who comes across this issue, 1and1 do now offer a blog on their basic packages, but it doesn’t seem to be configurable in any way. You can choose from a selection of themes, some of which allow you to customise the colours, etc. but that’s about it. You’re not given access to any of the WordPress system files so can’t upload your own header image, for example, or add plugins. This limited functionality will be fine for some people, but isn’t for everyone. Personally, I think it’s a real shame 1and1 can’t offer that extra level of access.
The better (but more expensive) option is to go for the 1and1 Business package, which gives you access to a MySQL database which you can use to install WordPress manually – then you have complete control over all aspects of your blog.
Forum: Plugins
In reply to: EventCalendar and Old Posts …Okay, I think I figured it out. I had to call my events category in the URL, and by setting an “after” date in the past I’m able now to see all my events, past and future, so:
http://my.blog/?cat=1&ec3_after=2006-10-01&order=asc
Hope this helps someone else. This is a great plugin!
Forum: Plugins
In reply to: EventCalendar and Old Posts …Alex – I’m trying to do the same thing as these guys but can’t figure out how to use ?ec3_before=today.
I have the EventCalendar (3.1.0) up and working beautifully, but I’d like to be able to display past events after future events on my ‘Events’ category page – how do I do this? What code do I need to tweak?
I have looked through the plugin website but can’t figure it out. Hope you can help. Thanks!
Forum: Themes and Templates
In reply to: Conditional Tags for Parent/Child Categories?Kafkaesqui – thanks for your help. I think I’ve figured out the required code based on Maerk’s method. I’m using the Category Template Inheritor plugin, as I want the parent and children to share certain features not required by other categories (effectively they’re forming a kind of directory), and this had me confused for a while.
On the off-chance that any other PHP newbies need to do the same thing, here’s the code I ended up using in my category template (between the ‘navigation’ divs). (Kubrick theme.) There are no doubt neater ways of doing it. I’ve tweaked the presentation of the posts for my own use, so anyone else using this will have to adapt it.
`
<div class=”post”>
<?php if ( cat_is_parent() ) {
echo wp_list_cats(‘sort_column=name&child_of=2’);
} else {
while (have_posts()) : the_post();
echo ‘<h3>’;
echo ‘<a href=’;
echo the_permalink();
echo ‘>’;
echo the_title();
echo ”;
echo ‘</h3>’;
echo ‘<div class=”entry”>’;
echo the_content();
echo the_meta();
echo ‘</div>’;
endwhile;
}
?>
</div>Forum: Themes and Templates
In reply to: Conditional Tags for Parent/Child Categories?I’m trying to do exactly the same thing as grypesagon – for one of my parent categories, I want to display a list of the child categories; for the child categories, I want to display the posts.
I have inserted Maerk’s code into function.php, and have inserted his
if ( cat_is_parent() ) {code into my category template, like this:
<?php if ( cat_is_parent() ) {
echo wp_list_cats('sort_column=name&child_of=2');
} else {
echo 'This category is a child';
}?>This is working insofar as I get a list of the child categories (wahey!) when I click on the parent category, and when I click on a child I get “This category is a child”. But (being a PHP newby) how do I make it so that posts are displayed when the category is a child? I’ve been poring over this for a few days and can’t figure out how to get it to display the posts instead of “This category is a child” – how to integrate the necessary code into the “else” clause.
Can anyone please help?
Forum: Fixing WordPress
In reply to: Moved WordPress; index.php not updatingUpdate: Sorry guys, and thanks for your help. Problem was caused by my confusion after installing the static front page plugin – I wasn’t updating what I thought I was…
Forum: Fixing WordPress
In reply to: Moved WordPress; index.php not updatingI changed the URLs before moving the site. I’ve checked in the new location and they are as they should be.
The site appears to be fine when I look at it, and i can edit posts, stylesheet, etc. Just can’t update index.php.
Forum: Fixing WordPress
In reply to: Moved WordPress; index.php not updatingThe blog has a new domain as well as a new server – should old DNS entries affect this? Sorry if this is a stupid question – I’m pretty new to all of this.