Using v2.3.2. not able to upgrade. will break site. Is this version mutli-site compatible?
]]>I was on Thesis 1.8.6 but noticed my hooks had disappeared. I upgraded to 1.8.9 but they’re still not there. I’ve disabled all other plugins with no luck. I would delete and reinstall the plugin but wasn’t sure if that would somehow overwrite the stuff I had in the hooks. I read some threads here about similar suggestions, but those didn’t work either. Any ideas? Thanks!
]]>Hello – I cant access openhook admin screens. I’m logged in as an admin with all privileges. The hooks created are all working it seems. On Thesis 1.8.6 and WordPress 4.5.3, Openhook 4.2.1. I have disabled all other plugins, including security related plugins, to no avail. I have re-installed Openhook files, re-installed wordpress files without success. I’m not sure where to go from here.
Obviously this worked for me at some point. Through various upgrades something broke. I don’t know when it stopped working.
Thanks
]]>I dont know if it is possible to add support for some WooCommerce Hooks?
If it is possible, it would be very nice ??
]]>using thesis 1.8
wordpress 4.3.1
thesis-openhook 4.2.0
Recently I noticed one of my blogs crashed, showing a 500 error. after digging through the logs I noticed this:
PHP Warning: is_readable(): open_basedir restriction in effect. File(D:\IISData\DOMAIN.org\httpdocs\blog/wp-content/plugins/D:\IISData\DOMAIN.org\httpdocs\blog\wp-content\plugins\thesis-openhook/languages/openhook-en_US.mo) is not within the allowed path(s) (D:\IISData/DOMAIN.org\;C:\Windows\Temp\) in D:\IISData\DOMAIN.org\httpdocs\blog\wp-includes\l10n.php on line 481
The error makes it look like it is concatenating two absolute urls, so I started digging and in wp-includes/l10n.php I found in load_plugin_textdomain()
:
if ( false !== $plugin_rel_path ) {
$path = WP_PLUGIN_DIR . '/' . trim( $plugin_rel_path, '/' );
}
and since we are already adding plugin_dir_path( __FILE__ )
from the plugin we’ll naturally have a problem (thesis-openhook/index.php):
public function i18n() {
load_plugin_textdomain( 'openhook', false, plugin_dir_path( __FILE__ ) . 'languages' );
}
so since load_plugin_textdomain()
adds the URL to the plugins dir, we do not need to include it as a parameter. just I changed this function to read:
public function i18n() {
load_plugin_textdomain( 'openhook', false, 'thesis-openhook/languages' );
}
and everything started working again. I’m not not actually using multilingual so I can’t test fully but figure it might help someone if they are having issues. Hopefully this could get fixed in a future release.
]]>Help please.
The goal is to use comic easel into my theme but I need to add the feature comic onto my home page. Comic easel provided action hooks in a tutorial here
I’ve added the action hooks for comic easel in to Openbox and placed the box right below the home page logo. I did this all through the skin editor and went to skin content where Openbox was and inserted the action hooks
<?php do_action(‘comic-area’); ?>
<?php do_action(‘comic-blog-area’); ?>
but it just shows up blank. Check out my site thinkingmusician.com. I’ve tried many many ways and can’t seem to figure it out.
Please help. Is my theme not compatible or is comic easel no compatible?? Or am I just doing something wrong??
Help!!
]]>Thesis 1.8.5 Openhook question…I’m trying to update the footer of my client’s site: https://nationalarcg.com/ and when I try to go to Openhook it’s not in the menu (tho it is for his other site nnnreatlypartners.com – see image) This site is on the same account too. I’ve tried deactivating and re-activating Openhook but still didn’t show up – also tried to find the text via FTP and couldn’t find where – any ideas? Was afraid to delete and re-install in case it still wouldn’t show up. I don’t want to mess up the site by not being able to access hooks. It’s still there for now along with all of the info, just can’t seem to find how to access it. I’m an Admin user also tried client’s admin login – still nothing.
Thanks!
This seems like it would be a common question but cannot find the answer here or elsewhere.
Which openhook box should the Google Tag Manager get pasted into?
“Google Tag Manager should be located just after the opening <body> tag and if you implement a data layer, it needs to be in the <head> section.”
BUT… I can’t find any reference of which openhook box would put code just after the opening <body> tag OR in the <head>.
Any help appreciated!
]]>Hi Guys,
I am having the worst time adding a simple php code snippet to my page… I have the [php] enabled in the settings and this is my code I am trying to insert into a page:
<br />
<?php<br />
$args = array(<br />
'post_type' => 'review',<br />
'post_status' => 'publish',<br />
'posts_per_page' => -1,<br />
);</p>
<p>$all_reviews_query = new WP_Query($args);</p>
<p>if ($all_reviews_query->have_posts()) {<br />
while ($all_reviews_query->have_posts()) {<br />
$all_reviews_query->the_post();<br />
global $post;<br />
if ($post->post_type=='accommodation') {<br />
$likes = get_post_meta($post->ID, 'review_likes', true);<br />
$author = get_the_author();<br />
?><br />
<!--testimonials--><br />
<article class="testimonials clearfix"></p>
<blockquote><p><?php echo $likes; ?></p></blockquote>
<p> <span class="name"><?php echo $author; ?></span><br />
</article><br />
<!--//testimonials--><br />
<?php }<br />
}<br />
}<br />
?><br />
?><br />
————————————————
The result is a Parse Error: Parse error: syntax error, unexpected '>' in /xxxxxxxx/public_html/dev/wp-content/plugins/thesis-openhook/inc/shortcodes.php(28) : eval()'d code on line 2
But I don’t know what that means or how to fix it…. a little help please.
This is the page: https://dev.bigbearcabinsandrentals.com/reviews/
Does OpenHook work with Thesis 1.8.6?
I have a client who needs to use comments in the latest version of WP, which is why I installed 1.8.6 vs 1.8.5 for his site. What used to take me a couple of clicks to do re: loading short codes for banner ads, etc., is no longer working and being a bit dyslexic, learning php and doing it by hand is proving to be next to impossible. Please help! Thank you.
Can you please help with the following error? I have copied the line from the index page below (from the Process an Action @ since 3.0 section)
Site is: https://marketingaprivatepractice.com/
PHP Fatal error: Call to undefined function put_cute_profiles() in /home2/julietau/public_html/marketingaprivatepractice/wp-content/plugins/thesis-openhook/index.php(236) : eval()’d code on line 1
# Output our action, with or w/o PHP as needed
if ( $php )
eval( “?>$value<?php ” );
else
echo $value;
Hello,
I’ve just installed the OpenHooks plugin, and strangely I can only get five hooks to work (thesis_hook_before_html, thesis_hook_after_html, thesis_hook_before_post, thesis_hook_after_post, and wp_footer). I’m using the latest version of the plugin (4.0.1) and Thesis 2.0. On the OpenHook general settings page, under active hook groups, I have Thesis 1.8.5 checked. The box for “visualize hooks” is also checked, and only the five hooks I mentioned are showing. I’ve tried to apply code to the missing hooks, and although the changes are saved, they don’t show up on my template. What am I missing? Does Open Hooks not work with this version of Thesis?
In advance, thanks!
]]>I use Thesis 1. anyhow how can one use openhook using the thesis_hook_after_header and add a banner rotation code?
I have had zero luck, preferably would like a specific banner image on specific pages.
]]>I have 2 questions:
1. I can’t seem to find the right hook so that my disclosure box fires ONLY just under a post, NOT on the homepage under the first excerpt.
2. Could you also tell me how to get my share buttons to show only under a post, not on the homepage under the excerpt?
Thank you!
Kelly
Hello
I am trying to show text that was placed in the “headway_before_entry_content” hook, but ONLY on single posts and not the front page or blog index. this is the code and text i used inside “headway_before_entry_content” hook
<?php
if(is_single() ) {
add_action('headway_before_entry_content');
}
?>
<h2 class="Lorem-Ipsum">Lorem Ipsum
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sodales, nulla eu gravida vulputate, sapien est viverra neque, ac accumsan lorem tellus porta magna. Sed eget vehicula turpis . </h2>
the problem is on single posts im getting an error message
“Warning: Missing argument 2 for add_action()” what could it be?
Does OpenHook provide all the hooks( spaces ) available or possible IN WordPress? …or does every hook plugin out there offer different types of hooks?…thank you for your time…cheers..
]]>Just wondering if the OpenBox will work with the newest Thesis 2.1b13 ??
And if not, is there an ETA on when it will be?
Thanks.
]]>I can’t get shortcode to work in Openbox on Thesis 2. Is there a trick to make it work?
I remember on Openhook there was a checkbox to be able to use shortcode, but Openbox doesn’t have any options.
Thanks,
Pam
]]>Hi BrazenlyGeek,
I’m loving Openbox on Thesis2. But I’m having a hard time getting this shortcode to work. Instead of executing the shortcode, it just displays it. Can you tell me how to get this shortcode to work in Openbox?
<?php
$title = get_the_title();
$link = get_permalink();
?>
[popup url=”<?php echo $link?>” width=”400″ height=”600″]<?php echo $title ?>[/popup]
Thanks!!
Pam
]]>Why is it that on a few of my sites I’m able to add a Google text code and it shows up just fine in the hook. However, on a couple of my other sites I can’t get it to show up at all? What am I missing here? I don’t have too many ads on the site so it’s not a Google issue. I have 5 sites set up almost identical and 2 are working just fine???? It almost looks like no matter what code I put into any hook it doesn’t show at all.
]]>I’m using OpenBox on Thesis2 (since OpenHook doesn’t work on T2). I am a novice at PHP, and much of my code is trial and error. Can you tell me where I can find the code in my FTP in case I break the site with bad code and am unable to get in to fix it?
Thanks
Pam
]]>I need to target one page only.
The code I need to add is (I think) javascript. Since I want it before the < / body > tag, I added it to “headway_body_close”.
I added:
if (is_page('page-1')) {
<input type="hidden" id="hidLocation" value="https://domain.com/" /> <script type="text/javascript" src="https://domain.com/landing.js">
}
But that doesn’t work. All pages show the code, and not just the one I want.
What mistake did I make?
Thanks,
Lim
Below is a repeat of an issue opened on the developer’s Git.
This is a request to allow for targeting of specific blocks using Headway Easy Hooks.
From the Headway Codex:
If you want to use one of the hooks that can take a unique block ID or block type, just replace #BLOCK_ID# or #BLOCK_TYPE# with a valid block ID or block type.
Examples:
headway_block_close –> this is currently the level available in Openhook
headway_block_close_#BLOCK_ID#
headway_block_content_#BLOCK_TYPE#
This ability to drill down or target specific blocks does not appear to be available in Openhook, but it would make the plugin infinitely more powerful.
]]>I cant for the life of me figure out why my php is not working inside the open box. Its not even giving me an error. Its just not showing up.
Here is the code.
<?php if(has_post_thumbnail()){ ?>
ID, “ExternalURL”, true); ?>”>
<?php the_post_thumbnail(); ?>
<?php } else { echo “this isn’t working”; } ?>
<?php endwhile; ?>
I am calling the featured image and giving it custom link. Any idea why its not workin in the box?
]]>Help! When I put this site together, the open hooks were different. I could muddle my way around. Now my client wants sidebars on the site. That part is easy, but the open hooks have changed since I originally built the site, and now it’s all different and I’m not sure what to do now to move the side bar down so that it’s below the gray line I’ve got in place. Please help!
Here’s a link to my site:
https://nationalsoftwareescrow.com/why-escrow/
WordPress has many more hooks than the two listed. Where are the others? Are they coming?
]]>I am using Sucuri.net to monitor my blog. I received a security warning message that site error detected in “Open Hook” Plugin. It is pointing me to the following code.
eval()’d code</b> on line <b>7</b>
This code is in the line 236 of plugins/thesis-openhook/index.php
I have very limited knowledge about coding. Kindly guide me how to resolve this issue.
Thank You
]]>GoDaddy upgraded our WordPress recently to 3.41.
I went to use Openhooks, and don’t see any open hooks fields on the page.
Is there anything I can do to display the openhook fields?
Is there a known problem with WP 3.41?
Thanks. Your Openhooks program is BRILLIANT! Frustrated it isn’t working. HOpe it is something I’m missing, or that a 3.41 friendly version is coming soon.
Thanks
Hello.
An admin for one of the sites that I have built is running into a problem that I am unable to figure out. I used the openhook plugin on this site, and everything worked great. He did some updates and now it is out of wack. Not the usual though from the major update where the plugin dramatically changed and you had to import from the old version.
My problem is that there is no link to get to openhooks in the wp backend. Before, you could get to it through appearances, as well as through thesis at the bottom, but now there is nothing showing up.
It’s as if the plugin isn’t installed at all. I have deleted it and reinstalled a couple of times and it shows up looking at ftp as well as my list of installed plugins.
Any help would be very much appreciated as right now, the site is majorly jacked up. You can see it here …
https://www.woodmontwildcatfootball.com/
Thank you
]]>Good morning,
I’ve upgraded the thesis-openhooks from version 2.3.2 to version 3.3.1 but now I cannot save hooks.
I’ve imported from version 2 using the button on General tab succesfully and now the content of the hooks are showing with an asterisks in front but I cannot add/update any content on them.
When I press the button “Save changes” is redirecting me to the homepage of the site and the hooks are not saved.
Active action groups is configured for Thesis and I’m using Thesis 1.8.
Any other option in Thesis tab is working but not Thesis hooks or WordPress hooks, both have the asteritks in front and I cannot do anything on them.
What to do to resolve this situation?