Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Browsing all 8245 articles
Browse latest View live

andy_woz on "Rewrite shortcode if mobile device."

Hi I have an older site that uses a flash based audio player proprietary shortcode in the page content. What I'd like to do is to switch to an HTML5 audio player for mobile devices. I guess I'd be...

View Article


skunkbad on "Hook to check comments for enqueue_script"

I tell you what, searching on Google is totally worthless when you need to look for information about plugin development related to comments. Yes, you can find page after page of the 10 best WP...

View Article


FatLabllc on "Getting delete query to work in wp-cron"

I have been struggling with this for a little while now and hoping someone can provide some advice. I am writing a plugin that includes a wp-cron job to delete records from a table after they are 24...

View Article

loiste2 on "Override the Wordpress core function wp_referer_field"

I'd like to override the core Wordpress function wp_referer_field with folowing code: function wp_referer_field( $echo = true ) { $referer_field = '<input type="hidden" name="_my_wp_http_referer"...

View Article

adrianlittee on "Using jQuery .load() function with wordpress and gravity forms"

I am developing a series of pages which will integrate with Gravity Forms. I'm using jQuery to send data to a div from a page I have created. Requesting Page <a href="#"...

View Article


Kassandra_P on "Change Sort Order of Image Attachment Pages"

Hi, I'll try to break this down as clearly as possible: I have several galleries. The images in each gallery are sorted (alphabetically by last name) according to the image slug. When you click an...

View Article

Sprinto on "Show posts from auther"

Hey guys, Im having a problem with getting recent posts from a specific auther. I found a function that let be do it. function my_get_display_author_posts() { global $authordata, $post; $authors_posts...

View Article

madsrh123 on "How to increase numbers if exist"

Is there a more efficient way to increase these numbers? I've looked into $i++ but couldn't make it work. <?php $args = array( 'post_type' => 'album' ); $loop = new WP_Query( $args ); while (...

View Article


loenne on "Hide comment email from non-admins"

I have a question about comment notification When someone posts a comment there are sent 2 emails - one to me as Admin and one to the author. However, the email sent to authors contains the email...

View Article


kshilpa1385 on "WordPress Login credentials Pass to another site"

[Moved from Your WordPress which is NOT a support forum.] hi, I have 2 websites one is in wordpress and another is in asp.net. I want pass login credentials of wordpress to asp.net So please tell me...

View Article

infocolombol@libero.it on "Pages and comments exist but are not visible"

Hello everyone, after it has been updated on the server, the pages and comments of my site are no longer visible. http://www.menbillionaires.com Thanks for the help [Moderator Note: Please ensure that...

View Article

hixen on "Found some pretty complex malicious code"

Hello, Found some malicious code on my site and I don't really understand it, but it seems pretty complex. So I'm posting it here if someone needs to take a look, and prevent this from happening to...

View Article

dacosta_rafael on "some of post deletes upon saving"

I have the following filter but when I save the post some of the post content gets deleted. Is there an alternate solution? function filter_post_data( $data, $postarr ){ $content =...

View Article


pixel016 on "How to update image"

Hi everybody, I have a custom field "upload image" on the user profile page. When the user upload an image, it appear on the wordpress media library and on a featured image on a custom post. So the...

View Article

kater89 on "Save jQuery UI Sortable"

I have a simple jQuery Sortable code and I need it to save when the order is changed. I have seen this post but I can't get it to work. I think my main issue is I don't know where to put this: $args=...

View Article


madsrh123 on "$_Session inside while"

I need to bring the $i to my target page. This gives me a list of track titles with a permalink, but on my target page I only get the last $i. <?php $args = array( 'post_type' => 'album' ); $loop...

View Article

markoof on "WooCommerce Variable product shortcode"

Hello, does anyone have an idea how to call variable product form with shortcode? More details: I have two variable products on the site and when I visit product page, there is an option to choose...

View Article


sj3vans on "How to embed Wistia video iFrame link with user tracking"

I can't seem to figure this out. Perhaps someone can direct me how I need to get it going. On our homepage at vistaone.tv, you can see that when I place the following link in a post, it embeds the...

View Article

veggieboy516 on "Pods setup template boolean code help"

Hi! I'm trying to incorporate an if statement into the code in the Pods=>Setup=>Template part. Goal if value is false, display. Under Pods=>Setup=>Pods, I've added column with the column...

View Article

Gardian on "Woocommerce - Simple Product informations"

Hello, I need to get product information as product title, price , image link, product link, currency in a new plugin. I am new with Woocomerce so not familiar with its classes and functions... Could...

View Article
Browsing all 8245 articles
Browse latest View live