agentevolution
Forum Replies Created
-
It uses the author’s email. Edit the author’s profile to change the email.
Forum: Plugins
In reply to: [IMPress Listings] Plugin is broken since updating to WP 4.0The plugin has been tested and works with WP 4.0.
Activate the Twenty Fourteen theme to eliminate a theme conflict.
Deactivate ALL other plugins to eliminate a plugin conflict.
Forum: Plugins
In reply to: [IMPress Listings] WP ListingsThe process is the same for that theme.
Be sure you have deactivate the AP Listings plugin. You may need to log out and log back in to your WP site and clear any caches you have.
Forum: Plugins
In reply to: [IMPress Listings] Listings not DisplayingReset your Permalinks. Go to Settings > Permalinks and click Save.
Or try deactivating all other plugins.
Forum: Plugins
In reply to: [IMPress Listings] Can I customize to have multiple archive-listing.php ?Excellent. We’ll look into making this easier in the future. The way it works now is anything that is a listing taxonomy will use the archive-listing.php file. It could be done better but would require a lot more logic in that template_include filter.
Forum: Plugins
In reply to: [IMPress Listings] Can I customize to have multiple archive-listing.php ?Try using the after_setup_theme hook instead of plugins_loaded.
Forum: Plugins
In reply to: [IMPress Listings] Can I customize to have multiple archive-listing.php ?OK. Yes that’s true. You’ll need to put that code into it’s own function and hook it into the plugins_loaded action hook:
add_action( 'plugins_loaded', 'wp_listings_override' ); function wp_listings_override() { // Add previously posted filters code here }Forum: Plugins
In reply to: [IMPress Listings] Why won't an Envira gallery display in Photos tab?The Envira plugin may use javascript to display the photos, in which case, because the Photos tab is not visible on page load the gallery won’t work correctly. This is a common issue for any content when it’s displayed in a tab because the tab content is hidden on page load. You could customize the template so that Photos tab is the first displayed tab and not hidden on page load.
Forum: Plugins
In reply to: [IMPress Listings] WP Listings hooked into Default WP PostsNo, they are different post types. The default WP behavior is only for posts to be shown on the posts page. If you want to show other post types, you’ll need to use a custom query that includes the post types you want along with the default posts.
Forum: Reviews
In reply to: [IMPress Listings] Awesome pluginThanks for the feedback and rating! Yes, we’re looking into a way to make the currencies and measurements easily editable in a future version.
Forum: Plugins
In reply to: [Genesis Agent Profiles] Shortcode?Yes, but you should post a new topic as this is unrelated to the original post.
Forum: Plugins
In reply to: [IMPress Listings] Can I customize to have multiple archive-listing.php ?Yes, there is. In the plugin /includes/functions.php there is a template_redirect filter.
It’s not recommended to edit the plugin files, so instead you should remove that filter in your theme’s functions.php file and add a new filter… like so:
// Remove WP Listings filter remove_filter( 'template_include', 'wp_listings_template_include' ); // Add custom filter that removes the redirect for taxonomy pages add_filter( 'template_include', 'custom_wp_listings_template_include' ); function custom_wp_listings_template_include( $template ) { $post_type = 'listing'; if ( is_post_type_archive( $post_type ) ) { if ( file_exists(get_stylesheet_directory() . '/archive-' . $post_type . '.php') ) { $template = get_stylesheet_directory() . '/archive-' . $post_type . '.php'; return $template; } else { return dirname( __FILE__ ) . '/views/archive-' . $post_type . '.php'; } } if ( is_single() && $post_type == get_post_type() ) { global $post; $custom_template = get_post_meta( $post->ID, '_wp_post_template', true ); /** Prevent directory traversal */ $custom_template = str_replace( '..', '', $custom_template ); if( ! $custom_template ) if( file_exists(get_stylesheet_directory() . '/single-' . $post_type . '.php') ) return $template; else return dirname( __FILE__ ) . '/views/single-' . $post_type . '.php'; else if( file_exists( get_stylesheet_directory() . "/{$custom_template}" ) ) $template = get_stylesheet_directory() . "/{$custom_template}"; elseif( file_exists( get_template_directory() . "/{$custom_template}" ) ) $template = get_template_directory() . "/{$custom_template}"; } return $template; }Forum: Plugins
In reply to: [IMPress Listings] Set contact form for all listings?No. If it’s added to your theme folder, it’s custom and specific to your theme anyway. No way to pre-select it, as it will be used automatically if it exists in the theme folder.
Forum: Plugins
In reply to: [IMPress Listings] Set contact form for all listings?Yes, by moving the single-listing.php to your theme’s folder, and replacing the default contact form code with a
gravity_formphp call (http://www.gravityhelp.com/documentation/page/Embedding_A_Form#Usage_Examples).Forum: Plugins
In reply to: [IMPress Listings] Posibility to add text search box to widgetSure, it’s technically possible, but you’d need to create a custom search widget, instead of the one included in the plugin. And then use a custom query for that meta_value.