WordPress.org

Profiles

  • Member Since: February 23rd, 2019
  • Find me on:
  • Posted a reply to error with divi and quick view plugin, on the site WordPress.org Forums:
    of course, i was brain dead yesterday. Sorry

    6 months ago

  • Created a topic, error with divi and quick view plugin, on the site WordPress.org Forums:
    I have a site that is using the plugin and it has been…

    6 months ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    Hi @ainsleyclark Awesome glad it started working mostly - lol. Not sure what could be…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    Hi @ainsleyclark, Sorry, I didn't open gmail this weekend so i missed your message. I…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    Hi @ainsleyclark odd i linked it from the gist and its line 320 there. What…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    Hi @ainsleyclark Thats odd, it doesn't look like its using the updated var. Did you…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    Hi @ainsleyclark Its not generating the post_ids result. The $selectFoundPostQueryAddon array part of the query…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    Hi @ainsleyclark Its ok, happens to us all. Ok, i noticed a lot of code…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    Ok, I see why the errors occurred. First you forgot to update these. // set…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    hey @ainsleyclark , Wow that is a lot of errors. I would need to see…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    Rebuilt code - a whole lot has changed. It will: - fetch up to $post_per_posttype…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    Humm, not sure why it would be calculating the pages off by one. db count…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    Yes that code block is in the paginate_links_with_provided_wpquery function. Then down in the main code,…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    Ok, to hide the page numbers. Since we are using a custom paginate_links function we…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    ok, i see what is happening. Odd that it didnt happen on my dev site…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    Humm, I assume your talking about the $last_post_id_by_type[$post_type] foreach ($page_count_per_post_type as $page_count) { ... }…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    ok, to get the last page for each type. Add $selectFoundPostQueryAddon, after $whereTemplateAddon in the…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    Yes, that is what figure outs the page count. first change this line, $sqlQuerys['found_post_query'] =…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    odd it is suppose to set a default value for that. Change it to this,…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    Yes, the first block was just to make sure the sql parts were working. You…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    ok, it looks like you updated the sqlTemplate to only use foe_342fj29x2_posts. So the where…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    Sorry was busy with other things and didn't notice the replies. Sounds like your getting…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    ok, that confirms the base query is pulling results. So lets update that in the…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    So you created a custom taxonomy type called foobar and have attached that type to…

    2 years ago

  • Created a new ticket, #46347, in Core Trac:
    WP_Term_Query where sql_clauses oddity

    2 years ago

  • Created a new ticket, #4219, in Meta Trac:
    WP_Term_Query where sql_clauses oddity

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    This is the original code where the $post_slug was used. $post_slug=$post->post_name; $args = array( 'post_type'…

    2 years ago

  • Posted a reply to parameter from URL to content, on the site WordPress.org Forums:
    Ok, so this is what i understand. You want the ppc value to show up…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    Humm, I only found one place where the phrase "post_type" is used as a index…

    2 years ago

  • Posted a reply to parameter from URL to content, on the site WordPress.org Forums:
    Humm, ok I was thinking you wanted to redirect the page or something based on…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    Ok, I have made a quite a few modifications. The query has been completely redesigned,…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    Ok, I think I have come up with a solution. I had to do a…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    Ok, that is a twist (pagination). I've been running a few tests. I tried my…

    2 years ago

  • Posted a reply to wpdb Cannot Update column in Database, on the site WordPress.org Forums:
    I didn't notice this before, but this code is messing up the where statement. $data_where…

    2 years ago

  • Posted a reply to Posts Per Page -> Per Post Type, on the site WordPress.org Forums:
    I dont think what you want can be done in a single query. I see…

    2 years ago

  • Posted a reply to wpdb Cannot Update column in Database, on the site WordPress.org Forums:
    ok, you might check and see if the generated update query is valid. You will…

    2 years ago

  • Posted a reply to parameter from URL to content, on the site WordPress.org Forums:
    A possible solution using WP code options. Add to your templates functions.php file. add_action('parse_query', 'check_querystring_ppc_value_is_valid');…

    2 years ago

  • Posted a reply to wpdb Cannot Update column in Database, on the site WordPress.org Forums:
    I dont see anything wrong with the code. Have you confirmed that you are making…

    2 years ago

  • Posted a reply to Display last week’s posts (PHP), on the site WordPress.org Forums:
    You might try changing the query to use the date_query option instead of the string.…

    2 years ago