503 reputation
216
bio website
location
age
visits member for 2 years, 8 months
seen 9 hours ago

Dec
14
comment in_category in index.php
I found that using in_category on the index page displays the blog posts, but it put them on page two. so it's acting like all the other posts are still there.
Dec
13
comment in_category in index.php
I used the default twenty fourteen theme as a test. I added the conditional for in_category for the blog category. The theme shows 2 pages. The 1st page is blank but page 2 does show the 3 blog posts. Why?
Dec
9
comment why does included jquery always cause problems
I read an article by someone who claimed to be an admin here. he posted that deregistering jquery and using your own is a very bad idea. In his words, if you do that, you don't deserve to call youself a web developer. I am trying to use jquery included with WordPress. i just can't help but notice that everything always crashes when you use bundled jquery. I have not had one theme that worked wihtout massive amounts of hacking.
Dec
9
comment why does included jquery always cause problems
I am including it in the twentyfourteen_scripts which is being called on the wp_enqueue_scripts. So the add_action.
Nov
2
comment Return array keys and values
Thanks. I will try to find a php forum.
Sep
6
comment pre_get_posts and the blog page
This is what I ended up with. This gave me the best result.. Adding 'page' == get_option('show_on_front') seems to have worked the best
Sep
6
comment pre_get_posts and the blog page
I think it would be more correct to say that I didn't understand your explanation. It may have made perfect sense. n any case, your solution isn't working for me. I got an error with the $query->is_main_query. I had to take it out. But it also makes the home page show the blog posts and the blog page show the blog posts when "Show latest posts" is selected. I am trying to filter just the blog posts for the blog page through the index instead of setting up a separate template.
Sep
6
comment pre_get_posts and the blog page
Sorry Pieter, but your answer doesn't make any sense to me. The blog page can't be my front page if I set a static front page as a template. So I am trying to filter the posts that go to the blog page through the index loop so that only the posts in the blog category will show, otherwise, it should get all posts
Apr
19
comment Meta function issue
This is working. I took the code from the 2012 theme. I used it the same way in my theme. That is why I thought it would work. All I did was add my html.
Apr
17
comment One page loop issue with posts
I think I am going to inlcude posts another way. After thinking about it. It might cause problems for me to get posts.
Apr
15
comment One page loop issue with posts
That is an interesting thought. I did not try that. this isn't really a multiple loop issue though. The loop is suppose to get posts and pages. I would think right outside the if statement for the template I should be able to get posts. Just not sure how to do that.
Apr
8
comment problem including page template
I am using a page template for the homepage. I am trying to include all templates and pages on the front page. Get_pages doesn't work because it won't get the HTML in the template. Are you thinking there is a better way? I am open to your suggestions
Apr
8
comment problem including page template
get_template_directory did the same thing for me as get_template_directory_uri. I tried get_page_template and that seems to work out ok. I think my code is messed up a little though because it puts the footer before the main content. But all the pages that I need are there and the content is correct.
Mar
27
comment gallery image size
I would think post_gallery would work also. The strange thing is that when I put in that filter, the width and height is still there.
Mar
26
comment gallery image size
It's not a duplicate. That post is talking about a plugin using shortcodes and limiting the amount of images posted. I tried the filter in that post and it didn't work.
Feb
28
comment adding checkbox to theme customizer
I got it. Thanks for you help Dylan. It did help me look at the code a bit different
Feb
27
comment adding checkbox to theme customizer
Yes, I got it with the code in the article.
Feb
27
comment adding checkbox to theme customizer
the checkbox does allow me to check and uncheck it but the options still doesn't work. Under this code, I get this string(0) ""
Feb
5
comment How to add a custom field in the advanced menu properties?
How do you get the custom value? I tried using get_post_meta but I am not seeing anything.
Feb
2
comment using nav menu id's
yep, I did have it settings set to 3. I can't believe I didn't think of that. Thank you for your help.