PayPal buttons not working after 4.2.4 upgrade

Well, I figured it out myself. I updated my theme and all related plugins, and then magically, the PayPal code stopped getting switched each time that I clicked “update” for that page. Who knows why that was happening, but I guess just a glitch in the new version of WP/Avada working together.

Show Title/Date/Excerpt of first post & only Title for rest in Query [duplicate]

In your loop, you can use a variable to check, in this case $i, so the code will belong to: <?php $the_query = new WP_Query( ‘showposts=7&cat=113’ ); ?> <?php while ($the_query->have_posts()) : $the_query->the_post(); ?> <strong><a href=”https://wordpress.stackexchange.com/questions/199653/<?php the_permalink() ?>”><?php the_title(); ?></a></strong> <hr size=”1″ color=”#919191″> <?php endwhile;?> <?php $the_query = new WP_Query( ‘showposts=7&cat=113’ ); ?> <?php $i … Read more

Product Category Page in Full Width

I will explain it to you without code at the moment, but in things need to be done: Before you render your category html, check its position (depth) from its current category upwards to the parent category. If the level is 2, then add the style you want to post_class (post_class($array)), otherwise do not add. … Read more

Exceeded the virtual memory limit

It is impossible to guess how is memory spent in your site. In context of WordPress it will simply obey PHP memory limit and will crash upon reaching it. Your description sounds more like the total of server memory, which isn’t just WP, but everything on server (including web server software, database software, and so … Read more

How do I set up multisite on Digitalocean?

Yes it’s easy. You should start reading Digitalocean’s documentation, for newb it will take few while to understand the whole scenario but you if have past experienced with managing VPS server then i believe it will be fun for you. This documentation may help you : https://www.digitalocean.com/community/tutorials/how-to-set-up-multiple-wordpress-sites-using-multisite

wordpress or jquery a dynamic photo gallery

It seems that you are looking for a plugin that applies masonry layout on your photos. When selecting appropriate WP plugin keep in mind that you presumably want one that gives you whole gallery functionality (lightbox, lazy-load or pagination etc.) Free version of this plugin seems to have at least some of these. As for … Read more

get content from json api to post

why are you using plugin to fetch data, simply use the jqeury ajax function or jquery get method save the data into the wordpress post. like:- $.get( “https://api.hasoffers.com/v3/Affiliate_Affiliate.json?Method=getAccountManager&api_key=MY_API_KEY&NetworkId=SAMPLE”, function( data ) { do what ever you to with data, insert to post or whatever });

Code working in functions.php but not pluign for gavity forms

Put the add_filter() call in the init function: public function init(){ parent::init(); add_filter(“gform_submit_button”, array($this, “form_submit_button”), 10, 2); add_filter(“gform_confirmation”, array( $this, ‘custom_confirmation’ ), 10, 4 ); } And then add your custom_confirmation() function as a method to the class: class GFSimpleAddOn extends GFAddOn { /* all the other properties and methods */ public function custom_confirmation($confirmation, $form, … Read more

How to show random feed from DB and show content in my site

It’s difficult to answer this, but here are some suggestions: Make sure your feeds are valid, e.g. here. In the case of is_wp_error( $rss ) giving true, you can check the corresponding error message with $rss->get_error_message(). Develop with WP_DEBUG activated. Don’t use mysql_query(), it’s deprecated since PHP 5.5. Use the $wpdb object to fetch data … Read more