Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Is it possible to bump up the amount of cached queries. i’m currently running it on menulane.com.au which is about 400 listings of place to eat. There is a daily/total counter which is white listed but it seems the cache is just not big enough and is always being pruned when it was doing an awesome job.

    Next job for me is to look into gator-cache and see if i can have minor dynamic content on the page while keeping the rest cached.

    Thread Starter whatsup_will

    (@whatsup_will)

    sadly its not exactly what i need.

    i don’t mind losing the editing functionality, but i do need the dynamic update like it does for the post page.

    i am using this woo themes theme. http://www.woothemes.com/2010/12/listings/

    it has a built in post type uploader including custom post types and image fields. which also hooks into the wordpress image gallery core functionality 🙂

    i don’t mind adding the JavaScript and html portions, but i don’t know exactly when to add them and in which order do get the json/JavaScript working. 🙂

    here is some sample code to display the an author link

    function authorLink() {
    if (is_user_logged_in())  {
    global $user_identity;
    get_currentuserinfo();
    return '<a>View Your Posts/Custom Posts</a>' ;
    }else {
    return '';
    }
    }
    add_shortcode('authorLink', 'authorLink');
    
    function add_pagination_to_author_page_query_string($query_string)
    {
        if (isset($query_string['author_name'])) $query_string['post_type'] = array('post','a_custom_post_type');
        return $query_string;
    
    }
    add_filter('request', 'add_pagination_to_author_page_query_string');
Viewing 3 replies - 1 through 3 (of 3 total)