prettyboymp
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Storefront] E_COMPILE_ERROR with Storefront ThemeHi Mike,
Have you reached out to your hosting provider about this issue?
The error you mentioned above makes me think the hosting provider may be doing some things to prevent PHP access to files outside of your sub folder if this is shared hosting:
Error:
> Fatal error: require_once(): Failed opening required ‘inc/customizer/class-storefront-customizer-control-radio-image.php’ (include_path=’.’) in inc/customizer/class-storefront-customizer.php on line 163The code that would have triggered this error is:
require_once dirname( __FILE__ ) . '/class-storefront-customizer-control-more.php';This should have rendered the full/absolute path in the error message as:
/services/webpages/c/l/clockittoya.ca/public/wp/wp-content/themes/storefront/inc/customizer/class-storefront-customizer-control-radio-image.php.Hey @rsuil,
I tried connecting to https://woods-design.cl, but could not get the site to load. Each attempt timed out. Is this site accessible from the Internet? If not, this is what would be preventing Facebook from properly storing the image.
You can use a tool like https://www.isitdownrightnow.com/ to verify if the site is accessible to everyone.
Forum: Plugins
In reply to: [WP Realtime Sitemap] Bug fixes* The notices were on the settings page. At least one of the settings didn’t have a proper case in the switch statements. This would only be noticed if running with WP_DEBUG = true.
* For the extra whitespace, I don’t see it in SVN, however, after extracting the zip, there was an extra carriage return in the wp-realtime-sitemap.php which can happen with certain zip programs. It’s safest just to removing the closing PHP tag to avoid the issue.
* The escaping is to address security concerns. While irrelevant on most sites, in a multisite setting where the admins share a domain, improper escaping of the settings opens a vector for stealing domain wide cookies from other administrators of a single subsite.Forum: Plugins
In reply to: [Multiple Post Thumbnails] Use with Genesis Filters and ActionsI’m not at all familiar with the genesis theme, however, based on what you have in the code already, you should only have to replace the line
printf( '<div class="leader-image unbound-div">%s</div>', genesis_get_image( array( 'size' => $size, 'attr' => $default_attr ) ) );with
printf( '<div class="leader-image unbound-div">%s</div>', MultiPostThumbnails ::get_the_post_thumbnail( get_post_type(), 'secondary-image', $post->ID, $size, $default_attr ) );MultiPostThumbnails::the_post_thumbnail(get_post_type(), ‘secondary-image’)
Forum: Plugins
In reply to: [Lift: Search for WordPress] Initial Index Problem1) Can you check your error_logs to see if there is any error output? The sync runs via wp_cron, so a fatal error could be causing the failure.
2) If you only want posts to be searched, the filter should return an array with only ‘post’ in it. For example:
add_filter('lift_indexed_post_types', function( $post_types ){ return array('post'); });Forum: Plugins
In reply to: [Lift: Search for WordPress] N.California instead of N.VirginiaThe ability to set different regions is a new feature of AWS. It isn’t yet supported by the plugin. I’ve added the issue to our git repository, https://github.com/voceconnect/lift-search/issues/35.
Forum: Plugins
In reply to: [Lift: Search for WordPress] Example of lift_filters_default_fieldsI’ve released a new version of Lift with classes setup to simplify adding new fields and controls to the search form. I’ll try to get some documentation on them on the site soon. In the meantime, you can look at how the core fields are added within the code as examples: https://github.com/voceconnect/lift-search/blob/master/wp/field.php#L564
Forum: Plugins
In reply to: [Lift: Search for WordPress] Example of lift_filters_default_fieldsHi Hyperdo,
We’re actually in the midst of reworking the search form filters to simplify integration. Since we’re currently in the middle of it, the ability to add you own is somewhat limited at the moment. Look for it to be included in release 1.6.
You’re using the Access Key and Secret Access Keys as given to you by Amazon? You should get these in step three of http://getliftsearch.com/documentation/#setup-amazon.
Yes, all documents will have to be resent. Anytime the schema on CloudSearch is updated, the plugin needs to resend all documents to ensure that each one has all of the required fields indexed and correctly formatted.
It looks like the query being sent to AWS is correct. Do you have a lot of documents still showing in your queued documents or any errors showing in the error log under the Lift admin? One thing we added with the latest deploy was the site_id and blog_id so that domains could be shared amongst multisite installs. If, for some reason, the queue hasn’t pushed all of the content with the new fields included, they would be excluded from the results.
If there are a lot of documents still in the queue, you’ll need to let them all process. If this is a staging site that doesn’t get enough traffic to keep the wp_cron up to date, the easiest way I’ve found to get around that is to open up a post and let the auto-save act as a cron trigger.
Hi Brady,
I’m not sure what would be modifying the query off hand. Can you add the following code on line 129 of lift-search/wp/lift-wp-search.php?
var_dump($cs_query);
Either add the output here or notify me when it’s active on the staging site.
Forum: Plugins
In reply to: [Lift: Search for WordPress] Pagination brokenHave you been able to find what was changing the page number/ offset?
Forum: Plugins
In reply to: [Lift: Search for WordPress] Example of lift_filters_default_fieldsThe filter is used to limit which facets/filters/order by options to show to a user by default. Currently, the plugin only handles the following default search filters: ‘date’, ‘post_type’, ‘post_categories’, ‘post_tags’, ‘orderby’.
You can see an example of how the filter can be used to remove one of these default fields here in the constructor of the Lift_Search_Form class, though I’m still looking into why we’re filtering out the tags and category filters by default: https://github.com/voceconnect/lift-search/blob/master/wp/lift-search-form.php#L37
Forum: Plugins
In reply to: [Lift: Search for WordPress] Pagination brokenSince this is your test server, are you able to define(‘WP_DEBUG’, true); in your wp-config.php or view the error_logs to provide some error output?