Jump to content

ClaireBear

New Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by ClaireBear

  1. Think I'll need to re-think everything, I wanted to use tags as navigation around the site but if the archive page only lists them in published order it won't work
  2. I'm just going in circles here. I can call the right posts in the Archive and I can order them correctly on the home page. I just don't know how to apply 'orderby_last_activity=1&paged=' to the search/filter results. Google is not my friend lol.x
  3. Is this even the right place to ask?
  4. Having installed the 'filter by comments' plugin which "Adds query vars (comment_count, comment_count_compare, orderby_last_comment, orderby_last_activity) for filtering posts by comments". Then adding- <?php query_posts( 'orderby_last_activity=1&paged=' . $paged); ?> -to the top of my index page, all of my posts are now being displayed exactly how I want them to be. ie whichever is most recently updated comes to the front. However when a tag is clicked, the results page is obviously the archive page, which this plugin doesn't appear to work on, leaving posts being shown in order they were published rather than updated. When the above line of code is applied to the archive.php file, it simply pulls every post from the blog and displays them as if its the index, nothing is filtered but they are displaying correctly. Is there a way I can hack that code to sort just the archive results? Looking through the archive.php file, the only I think I should be looking at is - <?php if (have_posts()) : while (have_posts()) : the_post(); ?> -as it comes directly after the filtering code and directly before the article. I am not a complete novice with php, I'm learning fast, this one is just beyond me. How about the query.php file? I'm terrified of that one but my solution may well be in there. Any sort of response appreciated.
  5. ive pretty much given up on this, after trying variations on almost every google solution ive decided its impossible and will probably never happen. ill maybe try again later, after 20 odd hours today and yesterday with no food, little sleep and alot of chasing my tail like an idiot.. i need a break. tc folks x
  6. also i should add, its driving me insane, so i apologise in advance if this is an easy fix. my intuition tells me it should be.
  7. http://pastebin.com/DMyD9vK3 The problem I have isn't just the coding of how to add text to the output of a text field, its where to do it at all. In that pastebin, its whatever is going in the <textarea that i want to add to, preferably id like it to stay hidden I've been googling for hours and nothing is sticking. Any help would be appreciated?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.