116 reputation
8
bio website
location
age
visits member for 3 years, 4 months
seen 2 days ago

Sep
25
answered Post thumbnail height problem
Sep
25
comment Using a custom post type for an RSS feed only
So if /alerts/ is a custom post type archive, what do you get when you var_dump() the get_post_type() function?
Sep
24
comment Using a custom post type for an RSS feed only
I wanted the post type archive blocking too, which is why I changed that code. domain.com/alerts/ would have been the URL in question, just the post type's archive.
Sep
23
comment Using a custom post type for an RSS feed only
see my minor change to code. Does that look ok to you?
Sep
23
revised Using a custom post type for an RSS feed only
extra code
Sep
23
comment Using a custom post type for an RSS feed only
This appears to work very well, thank you very much for the fast and effective answer. I never knew about the status_header() and nocache_headers() functions, so I'm pleased I asked the question.
Sep
23
accepted Using a custom post type for an RSS feed only
Sep
23
asked Using a custom post type for an RSS feed only
Aug
6
comment How to list the Hooks and order of execution in current loading page?
I recently installed this plugin and it completely broke my website - it uses deprecated functions, so I would avoid.
Jul
18
comment Set a Category As My Homepage using add_rewrite_rule
codex.wordpress.org/Function_Reference/wp_redirect ?
Jul
17
comment Get list of terms of current taxonomy archive for another taxonomy
In that case, the only way I could help any more is if I can see your code. Perhaps you could edit the original post with the code I posted in the answer so I can see what's going on.
Jul
17
comment Get list of terms of current taxonomy archive for another taxonomy
print_r( $results );
Jul
17
comment Set a Category As My Homepage using add_rewrite_rule
I expect this is possible with a hook or two, but why not just code a template that has a WP_Query for the category you want, and save it as front-page.php, create a page and publish it (setting this as the front page in settings->reading also)...that should do it.
Jul
17
comment How many Wordpress SQL Queries per page?
Have you checked out this? codex.wordpress.org/… If you have custom queries that are eating resources, you might be able to cache them using a transient: codex.wordpress.org/Function_Reference/set_transient
Jul
17
comment Get list of terms of current taxonomy archive for another taxonomy
Have you done a print_r? It's supposed to return an array of IDs you can use, but you need to see what IDs are in the array first to check if it's working.
Jul
10
answered Get list of terms of current taxonomy archive for another taxonomy
Jul
8
comment How To Force User to Enter Post Title First When Adding New Post
Yes, I think ialocin in right. Write some jS and enqueue this with this hook: codex.wordpress.org/Plugin_API/Action_Reference/…
Jul
8
comment How to escape custom css?
I believe you should be able to use single quotes when echoing your CSS, as long as all your CSS code uses double quotes? Can you put a var_dump() of $custom_css on here? (or at least part of it)
Jul
8
comment Flexslider not working for my custom theme WordPress
I don't know - I can't see any recent posts that are hidden in the content. I suggest you look at the order of your jS files, and add them in one at a time until you see what's breaking your page.
Jul
8
comment Flexslider not working for my custom theme WordPress
No problem, maybe you can fix the Flickr code if you need it, but it looks like the JS that would make it work is missing. Either way, I'm glad I could help a bit. Good luck with the theme.