eligence
Forum Replies Created
-
Forum: Plugins
In reply to: [Visual Term Description Editor] No Paragraphs in $term->descriptionApparently that strips the <br>. Solution below for those who come looking. Didn’t find it the last time I tried. Thanks Shea.
solution:
term_description($term->term_id)
https://wordpress.stackexchange.com/a/256020/99080Forum: Plugins
In reply to: [Visual Term Description Editor] No Paragraphs in $term->descriptionIn taxonomy-{slug}.php
global $wp_query; $term = $wp_query->get_queried_object();then
<?php echo $term->description; ?>- This reply was modified 6 years, 7 months ago by eligence.
Forum: Plugins
In reply to: [If Menu - Visibility control for Menus] PremiumI have also had this issue. We would like to purchase the premium version and when I click the “get premium” button I get a page with this message:
“Oops
We are sorry, but something went terribly wrong
Invalid site URL – cURL error 6: Could not resolve host: http://www.parables.tv (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)”this is the url
This is throwing php notices every post as in super-socializer/inc/social_sharing.php
the_champ_prepare_sharing_html()is declaring$postas global. In this use case$post = null. This can be fixed by addingif (NULL === $post) { $post = get_post($shareCountTransientId); }on line 14.
I’ve noticed that this is throwing php notices every post as in super-socializer/inc/social_sharing.php
the_champ_prepare_sharing_html()is declaring$postas global. In this use case$post = null. This can be fixed by addingif (NULL === $post) { $post = get_post($shareCountTransientId); }on line 14.
Great
Replace sharing.js line 833-853 with the following:
var heateorSsClipboard = new Clipboard('.theChampCopyLinkBackground, .theChampCopyLinkShare, .theChampCopyLinkSvg', { text: function (trigger) { if (jQuery(trigger).hasClass('theChampCopyLinkShare')) { var element = trigger.parentElement.parentElement.parentElement.parentElement; var url = jQuery(element).attr("data-href") || ""; } else if (jQuery(trigger).hasClass('theChampCopyLinkSvg')) { var element = trigger.parentElement.parentElement.parentElement.parentElement; var url = jQuery(element).attr("super-socializer-data-href") || ""; if (url === "") { if (jQuery(element).hasClass('the_champ_horizontal_sharing') && typeof heateorSsHorSharingShortUrl != undefined) { var url = heateorSsHorSharingShortUrl; } else if (jQuery(element).hasClass('the_champ_vertical_sharing') && typeof heateorSsVerticalSharingShortUrl != undefined) { var url = heateorSsVerticalSharingShortUrl; } if (!url) { var element = trigger.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement; var url = jQuery(element).attr("data-href") || ""; } } } return url; } });Need to only reset
var urlifsuper-socializer-data-hrefis empty. Currently it gets the value fromsuper-socializer-data-hrefand then redefines it in this condition:if(jQuery(element).hasClass('the_champ_horizontal_sharing') && typeof heateorSsHorSharingShortUrl != undefined){ var url = heateorSsHorSharingShortUrl; }I’m using the shortcode in a loop where the url param is set dynamically
do_shortcode('[TheChamp-Sharing url="' . get_permalink($postID) . '"]')All the other sharing options work as expected (ie facebook, twitter, etc.) Hope that helps
Thank you for you timely response. I am unable to do that as the site is not currently live.
Forum: Plugins
In reply to: [LinkedIn Company Updates] PHP Fatal error breaking siteUpdate: the triggering error is either:
cURL error 6: name lookup timed outor
cURL error 35: SSL connect errorForum: Fixing WordPress
In reply to: Center spotify playlist/iframeI haven’t added any styling it’s just the default iframe from spotify
thanks
Forum: Fixing WordPress
In reply to: Hardcode White SVG in Navbar MenuWas using the wrong path