dgann0n
Forum Replies Created
-
Forum: Plugins
In reply to: [Firelight Lightbox] Not working when HTML is rewrittenThanks for this! I actually did get it working by using this:
$(‘.fancybox-iframe’).fancybox({
‘type’:’iframe’,
});I couldn’t get the other solution to work but if anyone else has this issue you could try either.
Thanks again!
- This reply was modified 6 years, 9 months ago by dgann0n.
Forum: Plugins
In reply to: [Firelight Lightbox] Not working when HTML is rewrittenI read this https://stackoverflow.com/questions/8608818/jquery-fancybox-not-working-after-altering-dom
And it seems very similar. In my case I’m not sure how to go about it.
Forum: Plugins
In reply to: [Recent Posts Shortcode & Widget] Shortcode Breaks Content BelowI made two test pages for you. They both have the same template.
1) https://advancedkiosks.staging.wpengine.com/test-page-shortcode/
This first one is with nothing commented out. Meaning, the shortcode for the recent posts is being used, and the content below breaks.2)https://advancedkiosks.staging.wpengine.com/test-page-shortcode-2/
This second one is the same template but with the recent posts commented out. The content below renders correctly.There are custom fields being used.
Forum: Plugins
In reply to: [Recent Posts Shortcode & Widget] Featured Image is low redso in the code you have
$image_size = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID) );
Which is forcing it to use the thumbnail. I commented this out and now I can set the image size
Forum: Plugins
In reply to: [Recent Posts Shortcode & Widget] Featured Image is low redsorry just realized I typed “low red” in the title but meant “low res”
Forum: Plugins
In reply to: [Contextual Related Posts] Sort related posts by dateI just figured it out after reading through the core files…. This is tested and is working. This works if you want to sort by post date (newest first)
Copy this into your functions.php.
function crp_sort_by_date( $orderby ) { return ' wp_posts.post_date DESC'; } add_filter( 'crp_posts_orderby', 'crp_sort_by_date' );
This can be marked as resolved
Forum: Plugins
In reply to: [Contextual Related Posts] Sort related posts by dateDid anyone get this working? It seems to show the oldest posts within my 365 day setting but I want it to show the newest posts.
Forum: Plugins
In reply to: My function gets called twice even though I only call it onceDid you figure this out? I made a shortcode containing php and it runs twice for some reason as well
My workaround – if anyone ever has this issue – is to add a check for if the URL contains “elementor”, then we know we are on the Elementor Page Builder Editor and to do nothing, else if it isn’t on an elementor page builder editor then run the code.
$actual_link = "https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; if (strpos($actual_link, 'elementor') == false) { // run code here }
Thanks! Making websites come with deadlines so we had to move on and use someone else’s plugin to get what we needed done.
Forum: Plugins
In reply to: [Custom Post Template By Templatic] Child ThemesSame here it doesn’t work for me with my child theme. It works for the parent theme but I need it to work in my child theme. The template shows up in the drop down menu when I add it to my child theme but doesn’t actually get applied.
Is this resolved?
Forum: Plugins
In reply to: [Ultimate Reviews] Setting Product Name ‘Not Required’ Doesn’t WorkThank you. I always appreciate when developers respond to support questions about their plugins. Most do not. I gave you a 5 star review, thanks again!
Forgive me, I tested it some more and realized it wasn’t that plugin causing the problem. It was WooCommerce Wishlist Plugin Version 1.3.2 | By TemplateInvaders.
I thought it was the other plugin because when I deactivated it, Elementor just so happened to start working but really it was the Wishlist plugin.
The problem is when I click “Edit with elementor” (a page that was already built with elementor) it brings me to a white page and doesn’t load the page builder.
Forum: Plugins
In reply to: [Ultimate Reviews] Setting Product Name ‘Not Required’ Doesn’t WorkI know this. And I do have in-depth fields enabled. I have ‘required’ set to “no” for product name. It still doesn’t work.
Forum: Plugins
In reply to: [Ultimate Reviews] Setting Product Name ‘Not Required’ Doesn’t WorkIf anyone has the same problem, a fix (if they don’t fix the bug) is to add:
<script>document.getElementById(“Product_Name”).required = false;</script>
to your footer.php file. You could also make a new JS file and include it in your functions.php if you want instead.
Adding that line will force the product name to not be required, so that when you do hide it (with Display:none) the form will still go through.