fabiano.cocozza
Forum Replies Created
-
Hi! At the moment my client decided to not register to Apple Pay or Google Pay so I have disabled the Express Checkout. No more critical error so far.
thanks a lot @battouly !
Unfortunately I don’t know which action caused the problem.
Probably a customer buying a product.I will post on the correct forum,
thank you for the support!@t78ch
your workaround works for me: thank you very much!Forum: Developing with WordPress
In reply to: wp-login.php blank pageForum: Themes and Templates
In reply to: How to Expand/collapse WordPress posts with jQueryHi everybody,
the post is almost a year old and probably Kondwani have found another way to solve the problem. Anyway i post my solution, may be this could be helpful for someone else.first of all, erase the question mark at the end of the third line, then add a }); before the </scripts>
now check if the code of your page have the same tags used in the javascript (in my case there were no class=”post” in the html).
i post you my version of the script, which make the whole content collapse after the title.
$(".entry-content").hide(); $(".entry-content").after("<div class='openIt' style='border-top: 1px solid #666; color: #036; text-align:right; cursor:pointer;'>Expand</div>"); $(".openIt").click(function() { $(".entry-content").slideToggle("fast"); }); $(".openIt").toggle(function(){ $(this).html("Close")}, function(){ $(this).html("Expand") });