416 reputation
215
bio website
location
age
visits member for 2 years, 5 months
seen 7 hours ago

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.
Feb
2
comment using nav menu id's
$number was already an array. I was using the implode function to add the comma because I thought the syntax for post__in would have been 1,2,3,4. As it is, there are no comas in the array. So wouldn't the syntax be wrong? The code you posted works better but only returns 3 out of 12 pages
Feb
1
comment get category name in admin screen
It works! Thank you Shazzad. I appreciate it. Works perfectly
Jan
31
comment get category name in admin screen
I tried that just now and it doesn't work. The link in the sidebar disappears.
Jan
19
comment How to paginate get_categories?
I solved it. Did you have something to add?
Jan
16
comment wp_query issue with post_type = page
I tried it. Didn't work out. It was a nice idea. I may have made a mistake somewhere that made it fail. I had to move a lot of code to try it out. I think I will just stick with the method I am using. It's working for now. I am sure I will stumble upon a better method at a later date and come out with version 2.0. Thank you for the help Milo.
Jan
15
comment wp_query issue with post_type = page
right. I figured that the reason you could query the post_type of page is so that you could get the content of that page. I would have thought that the page template would be part of that. Leave out the header and footer in the template and it should be good. when you query the post_type of page, it returns only the text within that page and nothing else. So my problem still remains.
Dec
19
comment wp_query inside the_loop
This did not work. I thought it was because the return statement was not in the loop. When I added inside the loop, it displayed the third post instead of the first. Not sure what is going on.
Nov
17
comment Does theme customizer need theme-customizer.js?
I have edited my question to include the link and a little more information