Profiles

  • Member Since: February 23rd, 2019
  • Find me on:
  • Created a topic, Error loading JS : LP.Hook, _LP$localStorage, LP.Hook not found, on the site WordPress.org Forums:
    I am using learn press 4.1.4 the latest break the enti…

  • 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

  • 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…

  • 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…

  • 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…

  • 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…

  • 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…

  • 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…

  • 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…

  • 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…

  • 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…

  • 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…

  • 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…

  • 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,…

  • 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…

  • 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…

  • 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) { ... }…

  • 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…

  • 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'] =…

  • 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,…

  • 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…

  • 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…

  • 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…

  • 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…

  • 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…

  • Created ticket #46347 on Core Trac:
    WP_Term_Query where sql_clauses oddity

  • Created ticket #4219 on Meta Trac:
    WP_Term_Query where sql_clauses oddity

  • 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'…

  • 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…

  • 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…

  • 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…

  • 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,…

  • 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…

  • 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…

  • 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…

  • 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…

  • 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…

  • 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');…

  • 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…

  • 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.…