39 reputation
9
bio website miller-media.com
location
age
visits member for 1 year, 10 months
seen 12 hours ago

Apr
18
accepted Custom Search Not Consistent with Results
Apr
18
answered Custom Search Not Consistent with Results
Apr
17
comment Pagination on Single Post
Thank you! When I'm at the main URL of the post, get_query_var('page') is returning '0' when I echo it out. I would assume this should be '1'?
Apr
17
comment Pagination on Single Post
Thank you! That sheds some light on it but for some reason when I'm at the main URL of the post, get_query_var('page') is returning '0' when I echo it out. I would assume this should be '1'?
Apr
17
revised Pagination on Single Post
added 537 characters in body
Apr
17
comment Pagination on Single Post
@YeshanSachithaKPerera, yes I have. I have a successfully loop running on another page. I've added the query code above that I am using on the single.php and that is not working (it keeps returning a value of '1' for the variable $paged when I try to print it out). It will repeat the infinite scroll but continues to repeat page 1 posts over and over again and never increments.
Apr
17
revised Pagination on Single Post
added 620 characters in body
Apr
17
revised Pagination on Single Post
added 510 characters in body
Apr
17
comment Custom Search Not Consistent with Results
@G.M., I've added the complete code of that page up above. The location stuff shouldn't be relevant but it'll give you a better idea of what I'm trying to accomplish. Let me know if that helps. Thanks!
Apr
17
revised Custom Search Not Consistent with Results
Added new code and explanations
Apr
17
comment Custom Search Not Consistent with Results
I will update the question above, one second...
Apr
17
comment Custom Search Not Consistent with Results
@G.M., I've created a custom php page that's in the root of the WordPress folder for this. Completely from scratch because I need to add the location search in as well (it's basically a second search page on the site). It's not inside a function but just on a new PHP page that I've created. It's called after the get_header() function and before the content of the page.
Apr
17
comment Pagination on Single Post
More details please? I don't understand what you're saying and that looks like an HTML comment so I'm not sure that's correct?
Apr
17
comment Pagination on Single Post
@ChipBennett that didn't do the trick...I'm assuming because I can't change pages on the single posts? I figure if there was pagination available, I'd be able to append /page/2/ to the end of the URL but that doesn't seem to work?
Apr
17
awarded  Promoter
Apr
15
comment Custom Search Not Consistent with Results
Well I'm doing a double search. One is for search terms and one is for location. If the location field is filled out and the $s filed is not (which is not in my code), then it runs through the Google Maps API and returns results. All of the posts have location markers on them. If you run a search that has $s but no location, it runs a normal. If you run both, it runs the $s and then checks those posts if they match the location criteria. What do you mean by XY problem?
Apr
15
revised Custom Search Not Consistent with Results
deleted 78 characters in body
Apr
15
comment Custom Search Not Consistent with Results
So it is not being represented in the var_dump($s). It should up in the dump for 'kitchen' but not for 'assistant'. Why would that be?
Apr
14
comment Custom Search Not Consistent with Results
I'll do the var_dump(). I echo'ed out the titles on this though and they don't show up so I'm assuming they are not represented. There's a bunch more to this code that would be too much to put here. I'm having to process it against a complete separate query from something else which is why I'm making the unique identifier.
Apr
14
asked Custom Search Not Consistent with Results