https://www.ads-software.com/support/topic/error-with-php-upgrade/
Whats is problem with plugin OptionTree???
]]>When I put a shortcode to bring in a Modal link, OptionTree just shows the shortcode and does not excute the function.
Then only answer I can find for this is:
<?php echo do_shortcode( $textarea );?>
But where do I put this? On the page template? In the general functions.php file?
]]>Thanks ProteusThemes
]]>Normally option tree plugin provide base64 encodeed data.
It will be great if you make your plugin supported for Option tree.
Thanks
]]>I am using two functions from OptionTree (ot_register_meta_box and ot_get_option). This is an example of how I am using them:
$metabox_cta = array(
... stuff here
);
if(function_exists('ot_register_meta_box')) {
ot_register_meta_box($metabox_cta);
}
and:
<a class="navbar-brand" href="<?php echo home_url(); ?>">
<img src="<?php if(function_exists('ot_get_option')) { echo ot_get_option('logo'); } ?>" alt="Site name">
</a>
Both of these fail the “function_exists” check and produces no output. They worked just fine on WordPress v4.6.1 though.
This is how I am pulling OptionTree into my theme:
add_action('after_setup_theme', 'mytheme_setup');
function mytheme_setup() {
// Load translation
load_theme_textdomain('mytheme', get_template_directory() . '/languages');
// Load OptionTree
require(trailingslashit(get_template_directory()) . 'option-tree/ot-loader.php');
// Load OptionTree settings
require(trailingslashit(get_template_directory()) . 'assets/php/theme-options.php');
// Load meta boxes
require(trailingslashit(get_template_directory()) . 'assets/php/meta-boxes.php');
...other stuff
I am using OptionTree v2.6.0.
Please advise on how to correct this.
]]>I have a problem with the sliders.
Let me show a few screens of my problem.
I have added a few of custom fields to a slider, and it should look like this: Good
But when i sent the form/options i see this:
Bad
It show the default fields, why?
https://www.ads-software.com/plugins/option-tree/
]]>