416 reputation
214
bio website
location
age
visits member for 2 years, 4 months
seen Jul 23 at 2:20

Feb
28
answered adding checkbox to theme customizer
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
27
asked adding checkbox to theme customizer
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
accepted using nav menu id's
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
2
asked using nav menu id's
Feb
1
comment get category name in admin screen
It works! Thank you Shazzad. I appreciate it. Works perfectly
Feb
1
accepted get category name in admin screen
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
31
asked get category name in admin screen
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.
Jan
14
asked wp_query issue with post_type = page
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.
Dec
18
asked wp_query inside the_loop
Dec
15
accepted Featured image in admin on custom post type