php, wordpress, pagination

I’ve created a posts where the user name and bio appears at the bottom, but I would like to display also the Linkedin link (added alrady on the user contact info). I’ve tried a lot of different ways …

tagged: php, wordpress, user May 12 at 11:41

Im using simple fields in a wordpress site, so users can “tag” diferents post in admin. Now, in the frontend view, i want to show a dropdown with the different options (distinct tags) that are …

tagged: php, mysql, wordpress May 13 at 16:56

I’m trying to update my Woocommerce tax rate when a certain coupon is used. For this I’m using this code in my functions.php: function apply_matched_coupons() { global $woocommerce; $coupon_code = …

tagged: php, wordpress, woocommerce May 12 at 6:58

I’m having some problem with the od: tags which is the most common issue. Only Yoast is active for open graphs not Jackpack publicize and then how the og: tags are showing in the header of the page …

tagged: wordpress, facebook-javascript-sdk, opengraph, meta-tags, yoast May 12 at 12:00

I want to dynamically generate video player container divs that will have a unique id. The elements are generated through Visual Composer in WordPress and the final html should look something like …

tagged: php, wordpress May 12 at 9:21

– There are a few posts on this already (like this one) but they’re not really adaptable to this situation. I have a shortcode that dynamically generates text content based on a custom field in my …

tagged: javascript, jquery, wordpress May 12 at 11:55

I am trying to add a grid of blog posts to my homepage template. I have pulled in the content from 4 blog posts, now I just need to pull in the featured image as a background for each div. Here is …

tagged: wordpress May 12 at 13:57

I have just transferred a large WP multisite enabled solution over from another company onto my own hosting environment. (VPS Ubuntu 16.04 & PHP 7.0 + Apache) The solution works great until …

tagged: php, wordpress, wpml May 13 at 20:25

Do we need to add primary key to multiple columns index ? Or it will be automatically put there ? ALTER TABLE `wp_posts` ADD PRIMARY KEY (`ID`), ADD KEY `post_name` (`post_name`(191)), ADD KEY …

tagged: mysql, sql, wordpress May 13 at 9:15

I just would like to get and display the parent (or grand parent if necessary) category name in WordPress. I have this : single_cat_title() But it display the actual category name. My code is in …

tagged: php, wordpress May 12 at 14:40

So a client asked to make some changes to his wordpress site, I can install and run plugins, but when I try to put some images or pdf files into the media it gives me the following error: “cant upload …

tagged: wordpress, image, upload, media May 13 at 13:44

I’m currently building 2 step auth plugin as my school project. I’ve already done the auth and now I am on my way to implementing it into the WordPress. I got stuck with doing this: on wp-login.php …

tagged: wordpress, login May 13 at 22:06

I’m doing a website on wordpress using newspaper theme, I want to display a custom header on each category but when I add the background with css all the categories display the same banner, and I’m …

tagged: html, css, wordpress May 12 at 20:03

i have set up a revolution slider in my home page in a wordpress site. I decided to add some Newsletter popup window that shows only the first time the user arrives to the page using the advise from …

tagged: wordpress, popup, slider, mailchimp May 12 at 18:53

I have created a 5 star rating system plugin using jQuery in wordpress (backend). The star values are also getting updated in to post meta table. If I have give a post 3 star and updates the page, the …

tagged: php, jquery, wordpress May 12 at 6:49

I have a custom table that I created named cars_plugin and it has columns id, name, color, model Now, I can get list of cars using $sql = “SELECT note FROM cars_plugin WHERE ID = ‘$id'”; $query = …

tagged: php, wordpress, pagination May 13 at 16:09
Stack Overflow

I am working on a small plugin for WooCommerce that will allow me to create a URL from an object to link to a certain page. That page will take into account the PHP GET variables and generate a …

tagged: wordpress, woocommerce May 12 at 8:40

I have installed wordpress website over aws ec2 . suddenly it stopped . and showing message “Amazon Linux AMI Test Page”. i am unable to open mywebsite. it is not running php code..

tagged: php, wordpress, amazon-ec2 May 12 at 9:14

I am adding a custom payment gateway to WP Woocommerce. I want to get the current user order_id for the cart created. I can get the cart total : global $woocommerce; $total= …

tagged: wordpress, woocommerce, payment-gateway May 12 at 8:33

Hello i been searching for a while now but i cant get this to work, i cant get the category by name, and also i cant asign it to a product programatically $product = new WC_Product(4); write_log($…

tagged: wordpress, woocommerce
wordpress , MySQL , Oracol