41,113 reputation
22245
bio website electrocinematic.com
location San Francisco
age
visits member for 4 years, 1 month
seen 21 mins ago

I like bicycles and cats.

http://electrocinematic.com/


9h
comment Capturing /page-name/[0-99999] in both template and number
you'd have to add your own rewrite rule. there should be some questions/answers here regarding that, if you look around.
20h
comment How does one load style.css into a theme?
does your theme have the wp_head() function?
2d
comment 's' term in WP_Query extended class causes huge memory leak (268MB)
you are creating an infinite loop. your pre_get_posts function checks if is_search, then runs another query, which fires your pre_get_posts function again, over and over ad infinitum. you need an additional check of some sort to prevent your embedded query from running the same query you're already inside of.
2d
comment Check for dependent plugin and if false dont activate plugin
I don't see the distinction in your case between "how to check plugin installed" and "how to check if dependent exists".
2d
comment Check for dependent plugin and if false dont activate plugin
possible duplicate of How to check if certain plugin exists and in expected version
May
22
comment Widget stuck at particular point when dragging to bottom
Can you reproduce this in multiple browsers or platforms?
May
22
comment Remove wpautop from plugin editor
the_content is the function that outputs the post content field, the filter is applied to the output of that function. you'll have to look at the plugin's code to determine how it's outputting the contents of the field to determine how to correctly remove the filter. your other option may be to just use WordPress' post meta functions to output the contents yourself without any filters, assuming descr is saved in post meta.
May
21
comment Weird Behavior in Twenty Fifteen Theme
works for me in Chrome, can't reproduce.
May
20
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.
May
20
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.
May
20
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.
May
20
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.
May
20
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.
May
20
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.
May
20
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.
May
19
comment If else statement based on referral URL
your if test seems wrong, why would there be a trailing slash?
May
19
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.
May
19
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?
May
19
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.