351 reputation
19
bio website
location
age
visits member for 1 year, 1 month
seen May 17 at 12:44
stats profile views 64

Sep
22
comment problems exluding categories
it doesn't work. I tried all those combinations.
Sep
22
asked problems exluding categories
Sep
17
comment trouble with my loop
I have been been looking over my code above. So I am trying to get the category id by using the get_category_by_slug() but I am getting nothing when I echo out for a test. when I tried using a foreach loop, I got an invalid argument passed to implode $cat = explode( ', ', $data['exclude_categories'] ) ; foreach ($cat as $categories){ $string = get_category_by_slug( implode(',',$categories)); echo $string; }
Sep
17
comment trouble with my loop
Ok, thanks Milo. I have used my method above in the past but I realized after your comments that the framework returned the ID instead of the category slug.
Sep
17
comment trouble with my loop
that method doesn't work for me either. In the example, they are using ID's also. The function uses is_home(), my blog isn't on the homepage. I tried is_page but that gave me undefined index errors. I also tried category_name =- homepage but that gave me weird results. It cut out the wrong category
Sep
16
asked trouble with my loop
Sep
9
accepted Show shortcode without executing it
Sep
9
asked Show shortcode without executing it
Sep
4
comment Problems with explode
Thank you Milo, worked great
Sep
4
accepted Problems with explode
Sep
4
asked Problems with explode
Sep
1
accepted why is there an author.php
Aug
31
comment what is template-name.php
for some reason when I try this, it doesn't work. Here is what I thought. If I have a custom post type called "gallery" I should be able to set up a file called page-gallery.php and wordpress would pick it up automatically so I would not need to set the template name on the page. But when I try that logic, it doesn't work. I could have sworn I did this before
Aug
31
accepted Customizing Default Categories Widget
Aug
31
asked why is there an author.php
Aug
30
comment trouble with featured image
Thanks. I will try that plugin and see what happens
Aug
30
accepted trouble with featured image
Aug
30
comment trouble with featured image
Okay, that makes sense but why didn't it change when I changed it to true? The image is big enough
Aug
30
asked trouble with featured image
Aug
25
awarded  Tumbleweed