Milo

San Francisco

electrocinematic.com

I like bicycles and cats.

http://electrocinematic.com/

18h
comment Weird Behavior in Twenty Fifteen Theme
works for me in Chrome, can't reproduce.
18h
revised How to get page_id for url rewrite or how to use page slug for calling a page?
added 182 characters in body
18h
answered How to get page_id for url rewrite or how to use page slug for calling a page?
1d
comment Wordpress autocomplete search with taxonomies
then you don't want posts or any type of post query, you just want terms, maybe via get_term_by? It's not really clear what the point of returning term names would be though.
1d
comment Wordpress autocomplete search with taxonomies
taxonomies contain terms, terms are associated to posts. if you want posts with the searched term, you want a tax_query.
1d
comment creating one page theme but templates are not being applied to page content on the "one"page.
templates are applied to a page as a whole, not to the output of the_content. you probably want to use get_template_part in the loop, but your templates will have to be structured without header and footer, otherwise you'll get all of that stuff repeated for each post.
1d
comment Wordpress autocomplete search with taxonomies
are you trying to return posts with the searched term, or the terms themselves? the s parameter doesn't search taxonomies, just post title and content. if you want posts with the selected term you need a tax_query.
1d
comment Short codes not working - not rendering
There's no built in blog_subscription_form shortcode, that's a WordPress.com feature, or Jetpack plugin. Your best bet is to ask via the support channels provided by your theme creator. Since it's a "premium" theme, no one here has access to the code to determine what the issue might be, and part of the price you paid was for support.
1d
comment template_redirect to accompany with a shortcode
if redirection is a possible outcome, then all of your processing should happen on template_redirect and nothing but markup output should happen in the shortcode handler. in your last snippet, it looks like you're trying to check $p_id before it could ever possibly exist, if it's set in the shortcode handler.
1d
comment Google does not index data from custom table used for a plugin
the canonical tag tells search engines which page to index for content that can appear under multiple URLs. if it is identical for all products, that's likely why none of those pages are indexed individually. see this question, which you could use as a starting point to generate your own custom canonical links for those pages.
2d
comment If else statement based on referral URL
your if test seems wrong, why would there be a trailing slash?
2d
comment new WP_Query messes up pagination
your query loads the 4 most recent posts regardless of what page you're on, because that is exactly what you are asking for with those query parameters. have a look at pagination parameters for WP_Query in codex.
2d
comment Google does not index data from custom table used for a plugin
do all of your product pages have a canonical meta tag with the same value?
2d
comment is_archive() not working on selected "Posts page"
have you looked at is_archive and the template hierarchy in codex?
May
18
comment Can't toggle between Visual and Text or Screen Options
check your browser's javascript console for errors.
May
18
comment How to not display a category post on blog page?
see the examples for pre_get_posts in codex.
May
15
awarded Enlightened
May
15
awarded Nice Answer
May
15
comment Rewriting 'rewrite' slug for custom post type used by plugin
see this question. but note that setting the rewrite slug to an empty value will cause the page post type to 404.
May
12
comment Function to draw random image from specified category destroys site logic - why?
never use query_posts.
1 2 3 4 5