This is my first post and first time working with Word Press so here goes.
I am in the process of modifying a friends site so that a user can choose categories via check boxes on the main home page so then the posts showing will reflect their choice.
So far, I have modified the header to include the check boxes and code needed to save the selections back to a cookie so that they can be reloaded when the visitor next returns.
The part I am stuck on is now how to filter the page based on the check box values. I was going to use the values from the check boxes to choose category id’s but when I started to look at the built in wp_query documentation but it looks like its php based and obviously, being server side and my controls being on the client side, I can’t work out how to ‘drive’ the filter.
And guidance would be greatly received as I think I am heading towards a dead end.
Thanks in advance,
James
]]>I’m trying to create a clone site for appulo.us to share some iphone applications.
As they use wordpress for it backend, I’m not sure which type of plugins are they using.
Is there anyone can give directions on this topic please?
For example, with the help of which plugin they can implement a nice index page, and which plugin can be used to add user-defined elements like software versions/authors/download links.
Thanks a lot for any hints,
edenCC
$categories_list = get_categories('hide_empty=0&orderby=name');
$getcat = array();
foreach($categories_list as $category){
$getcat[$category->cat_ID] = $item->cat_name;
}
$category_dropdown = array_unshift($getcat, "Choose a category:");
I appreciate any guidance and light someone could shed on this issue.
]]>What I’m hoping to be able to do is have a page in the admin area that had open fields for these snippets, like so:
footer text ________________________
text above about ___________________
text above contact _________________
.. which she could update at any time. Does this make sense?
Ideally, these values would be accessible globally and I could insert them anywhere.
Thanks to all who reply. I’m sure I could just be nudged in the right direction, and figure it out, so feel free to just post URLs that I can look at.
Cheers,
Rob
]]>As you can imagine, this makes sorting and searching through a few years worth of posts somewhat impossible. Since I am not too keen on going back and manually creating categories for (and categorising) every single post so far, I thought I’d be sneaky and pass the work onto my audience.
I am looking for something very similar to the tag functionality right here on this support forum, or (in pictures) how they’ve implemented it over at slashdot:
1. Every post lists popular user-specified tags.
2. User clicks that small triangle that brings up a form to add what they want.
3. They add their new tag or intensify what’s already there.
4. Once the number of repeats crosses a threshold, the tag joins the list of popular tags and shows up on the page.
All I need is a realistic estimation of:
1. How much support WordPress 2.x has “inherently” for tags. Either “inherently,” or through suitable, well thought out plug-ins?
2. How much work do you think it would be to pull off the implementation I describe using this support? Or if it already exists, where can I study/fetch it from?
3. How much work do you think it would be to incorporate this new information into WordPress’ search function, so it suitably uses it?
Thank you for your time. And if someone else is looking for something like this as well (and it doesn’t exist), we can collaborate on an implementation if you’re keen on it too.
]]>