moxojo
Forum Replies Created
-
I am having a similar problem. I have a text area on some pages for users to input javascript. I then output the contents of that field in the footer. Now all of the quotes are escaped even though I am using ‘raw’=>true.
https://smkazoo.com/home-cleaning/ you can look for the wistiaEmbed variable and metadata.js to see the problem.
I am having the same issue. Version 1.6 of the plugin and WordPress 3.9.2…guess I am reverting.
Hi Vasyl,
Thanks for the update. I am glad to report that it works! My apologies for not responding in a more timely manner.
Thanks for responding so promptly and resolving the issue.
Cheers!
Joshua
Hi Vasyl,
Thanks so much for the quick response. Unfortunately I am still getting the same warning about the script trying to load content from a non secure url.
I am traveling this weekend but if there is a way that I can help please let me know and I will do what I can.
Thanks again!
Forum: Plugins
In reply to: [WP FullCalendar] I'm getting no calendar display at allWorks for me, did you get it fixed? I had the same/similiar problem and then realized it was because I was loading 2 javascript files it required through head.js which meant it couldn’t display the calendar because those files weren’t loaded before the inline scripts ran.
Hey All,
at least the second one is a known problem, see this thread.
Sounds like it will be fixed soon!
Forum: Plugins
In reply to: [Asynchronous Javascript] 403 ErrorGlad I could help :).
Liking the plugin, keep up the good work, and thanks for being so responsive on the issue queue.
Cheers!
Forum: Plugins
In reply to: [Asynchronous Javascript] 403 ErrorHi Paris,
thanks for your response. I finally had time to look into this and I believe there is an error on line 137 of asynchronous-javascript.php
Namely, $options[‘head_file’] is never set as it is using a comparison rather than an assignment operator.
if (empty($options['head_file'])){ // notice the double equal sign, means $options['head_file'] is // never set $options['head_file'] == self::$default_head_file; }
When I changed the code to this
if (empty($options['head_file'])){ $options['head_file'] = self::$default_head_file; }
It completes just fine, with no errors.
Thanks for looking into it!
I also am experiencing this issue when trying to save custom types.
Any news on a fix?
Thanks!
Forum: Fixing WordPress
In reply to: filtering: Custom post type & custom taxonomyGood Gravy,
I have been searching all over for this answer. This really needs to be updated and discussed on the WP_Query page.
Thanks for pointing me in the right direction.
Cheers!
…oops, thanks for kindly overlooking my stupidity. I can’t believe I didn’t think of that.
hmmm, okay good to know. Out of curiosity why is there an option to add a custom field to a category if you can’t edit the field on the category?
Thanks again!
Woot! Thanks Marcus for the quick update. Experienced the same problem, got on here to report it and you had already fixed it.
Keep up the great work.
So on further playing around with it I realized that I had the wrong function. Here is the correct function that returns the content to be stored in the variable.
<?php $my_content = get_secondary_content( 'main hero content' ); if (NULL != $my_content): ?> <section class="tab-pane active" id="what"> <?php echo $my_content; ?> </section> <?php endif; ?>
The
<section>
is just html5. You can put whatever html you want between the opening and closing if statements and it will only print out if you have content in your secondary content block. Note that you have to echo the content if you want it to show up (which is why I stored it in a variable).Hey Caroline,
I realized I posted the wrong function, what you actually want is
<?php get_secondary_content( 'main hero content' ); ?>
notice the change in function name. That will return it but not print it.
Cheers!