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

interscrilla on "All wordpress sites are down"

Hi, All my wordpress sites are down. I'm using bluehost as my hosting provider. I called blue host tech support and find out that almost every .php file in every wordpress installation is infected with...

View Article


Pete on "How to rename the admin sub menu name of a custom post 'category' or...

I have a custom post type called Suburbs. It appears in the admin menu. like a normal post there are 4 sub menus... 1. Suburbs 2. Add new 3. Categories 4. Tags I want to rename the 'Categories' and/or...

View Article


Pete on "How to hide quick edit link except for admins"

How would this be edited to not apply to admins? function remove_quick_edit( $actions ) { unset($actions['inline hide-if-no-js']); return $actions; }...

View Article

opentechschool on "Parsing excerpt text"

Hi, I'm currently writing a plugin similar to OSM Categories to embed a map. Users specify locations on their posts, and then markers are generated on the map and filtered by post category. Each marker...

View Article

Add new posts > add media"">killedbymonkeys on "Customize | Posts > Add new posts > add media"

Hello, i want to add some stuff to the panel at Posts > Add new posts > add media but i just can't find the right hooks or anything about this panel. Can someone point me to the right...

View Article


aliarsh on "how to Permissions access user not login?"

how to redirect all non-authenticated users only for link more content and single page website? for all page website function protect_whole_site() { if ( !is_user_logged_in() ) { auth_redirect(); } }...

View Article

everyeurocounts on "Admin submenus add taxonomy page"

how can i add a taxonomy page to a admin menu? I am able to move the custom post type into a submenu ok but can't seem to add the taxonomy.

View Article

Pete on "REGEX Regular Expression"

I'm trying to figure out how i can use one or more regular expressions to format a random $ number with 6-7 digits.. e.g. $606782 -> $606 782 $300000 -> $300 000 $1237339 -> $1 237 339

View Article


iwt on "error after update : Warning: Missing argument 2 for wpdb::prepare()"

I update the WP version, and I am getting this error on top of the site and the admin section. Warning: Missing argument 2 for wpdb::prepare(), called in...

View Article


Luke Janicke on "Check my wp_mail() code? For a lite edit flow notifications...

If anyone has the time, my wp_mail() plugin isn't working. I know the post transition hook is firing because I got an error when saving a post as pending. I fixed that. But no emails are being sent....

View Article

Luke Janicke on "“publish_post” action hook shouldn’t be depreciated! Why is...

On the Action Reference page, publish_post is listed as depreciated. Likewise on the publish_post page itself. It is said to have been depreciated since Version 2.3. However... On the new Post Status...

View Article

qubed on "Help Hiding Dashboard and Product Page Elements"

Hello all, I am currently need of support to use css to hide certain elements and third party plugins from appearing my my vendor's dashboard as well as on their product page. The elements I am trying...

View Article

ganeshkg007 on "Need help in WP Query"

This is the code for pulling 'event', which is a custom post type. I need to pull events only from specific category. Please modify the below code to get the events from only one specific event...

View Article


mmx38 on "Call a function when post is updated!"

Hello! I created a post (of custom type) and I want to update some of the details (eg the title). On the update I want to run a custom function to update a table outside wordpress. I do not know how to...

View Article

Ebrark on "Slider Showing Posts Instead of Pages"

Hello All, I am trying to fix this bloody slider for someone and really dont know how to do it now . Any help would be appreciated . The slider basically shows posts on the homepage , instead of pages...

View Article


Roman.L on "Add Media "Uploaded to this post" by any means..."

When writing post or page you can click Add Media and on Insert Media tab you have drop-down menu first two options are "All Media Items" and "Uploaded to this post". I am looking for any way to make...

View Article

Archaic Radio on "Randomize Custom Fields from Posts"

Hi Ya'll, I'm having a hard time getting my page to display a random list of custom fields from a specific post. Below is my code. <?php $digvaud_id = 1833; $digvaud_post =...

View Article


torreto on "List related author on author page"

I am not expert on php and need some help about custom query on my wordpress author page. I have no problem when using WP_User_Query, the problem is i need to combine it with $curauth What i need to do...

View Article

tmakitalo on "How to use the latest page as front page?"

Hi, We use a theme that have a lot of functions build in to the page section thats not avalible when you write posts. I need some way to automatic show the latest page as the websites...

View Article

bxwebber on "Stop playlist audio player automatically?"

Hi! I've created audio playlists using WP's core mediaelement player. When playing selections in a list, at the end of the list the player returns automatically to the first selection and starts all...

View Article
Browsing all 8245 articles
Browse latest View live