iSoftware
Forum Replies Created
-
As you suggest the other approach would be a filter to get the template , perhaps as such:
if ( $template = apply_filters('aiowps_site_lockout_template_include', AIO_WP_SECURITY_PATH.'/other-includes/wp-security-visitor-lockout-page.php')) {
include_once( $template );
}
I would also suggest moving $maintenance_msg code found inside the template into a global function such as aiowps_maintenance_message() to echo or return the message so that theme developers can use that on the fly.
You can send me a copy of the plugin when you put together the changes to test it
Thank you
Forum: Plugins
In reply to: [iSoftware Blocks] display issue with pictures inside "Blocks" in IE-BrowserThank you for contacting us.
This is a browser related issue and not related to the plugin.
Forum: Plugins
In reply to: [iSoftware Blocks] display issue with pictures inside "Blocks" in IE-BrowserHi hansjoerg.jaeckel,
Please contact us direct at [email protected] with access to your demo environment and a jpg or two that shows the problem you are experiencing so that we may assist you further.
Thank you
Forum: Plugins
In reply to: [iSoftware Blocks] Show a region/block with PHPIn our projects, we usually use this plugin in conjunction with WP-Views(a commercial plugin from wp-types.com) in order to achieve what you are after as this gives us maximum flexibility and control over how this content is rendered.
We set up a custom view that selects all blocks for a specific region in WP-Views in a layout that we want to use(list, column, etc) and then insert that view where we want to display it.
Alternatively, you can achieve the same effect with a custom WPQuery in php.
Forum: Plugins
In reply to: [iSoftware Blocks] display issue with pictures inside "Blocks" in IE-BrowserHello and happy new year!
Please post the content you use in your block and how you render it and the version of IE-browser you have trouble with so that we may assist you.
Forum: Plugins
In reply to: [iSoftware Blocks] Show a region/block with PHPWe do not offer a build-in way to render a whole region yet! So you either have to do a custom WPQuery to get all block post types that belong to a specific block region and render them using the above mentioned shortcodes or alternatively use the WPViews plugin or equivalent that creates and displays queries from the backend.
I hope this helps!
Forum: Plugins
In reply to: [iSoftware Blocks] Show a region/block with PHPHello and happy new year!
You have four options that you can use in php:
do_shortcode(‘[isw-block name=”hallo world”]’);
do_shortcode(‘[isw-block id=”123″]’);— or —
global $ISWBlocks;
ISWBlocks->render_block_shortcode( array( ‘name’ => ‘hallo world’));where the ‘name’ => ‘hallo world’ is the post_name or post_title and the output will be translated with WPML if installed
— or —
global $ISWBlocks;
ISWBlocks->render_block_shortcode( array( ‘id’ => 123 ));where ‘id’ => 123 is the id of the block and the output will be translated with WMPL if installed
— or —
global $ISWBlocks;
ISWBlocks->render_block ( $id )where $id is the block id and will be rendered without WPML translation