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

Howdy_McGee on "Custom MetaBox Data Not Being Added"

I can't figure it out - it won't add anythign to the database even though there is 100% a value being passed into $_POST['_desc'] what am I doing wrong? /** Add the Meta Box **/ function...

View Article


pepe on "New media modal and and add_fields_to_edit with HTML fields"

Is there a new and approved way to add JS snippets to extra edit fields in the new media modal? I'm trying to fix a plugin that adds JS code in the 'html'-key of a $form_field and this variant is...

View Article


chomachomachoma on "Adding Hierarchy Capability to Custom Post Type Removes...

I have setup in my functions.php a custom post type of 'Portfolio'. I have just added hierarchy capability to it, so I can assign child posts and such. This works fine, where I am able to assign...

View Article

jnwry on "add drop down menu to register post type"

Hi, I'm trying to figure out how to integrate register post type with my plugin. What I need is that each author have access to post to his/her course. So I need a drop down menu that would select the...

View Article

zinc1314 on "Delete post of user with button"

Hi! Someone know how i can show on front of wordpress, a button for delete entries of logged users? I have this code, but is only for back (admin) <?php function mqw_add_admin_bar_trash_menu() {...

View Article


primall on "Adding a slider to my homepage"

Trying to add a slider to my homepage of my blog. Using Soliloquy Lite, unless someone has a better option. Just the first one i came across. Anyways im using the Expound Theme and i have no idea how...

View Article

greathug2u on "How do I enqueue jQuery in my plugin?"

Hi, Can somebody please tell me how to properly enqueue jQuery into my plugin code? I did this: if (is_admin()) add_action( "wp_enqueue_scripts", "my_jquery_enqueue", 11 ); function my_jquery_enqueue()...

View Article

everyeurocounts on "Change php date array to javascript array"

I have a php array of dates ($fdates) which outputs as array (size=1) 0 => string '2013/08/23' (length=10) I need to change this to a Javascript array in this format var array =...

View Article


caioxavier on "Help with category page"

Hey guys, I'm new to WP and PHP so I can't really rely on my hardcoding skills to get what I want, so I need your help. It should be simple: I have category pages and child categories in some of them....

View Article


goloops on "Display the first image in posts from the same category on a page...

HI Guys, I am not a programmer and I want to have this function in my wordpress site very badly. Something similar to this link here: http://www.a-li.com.cn/download/qq_emotion/ I have been searching...

View Article

rommelxcastro on "use wp_editor on category description"

hi, i need to modify the description textarea with the wp_description() i been looking on internet but i can't find a solution i was thinking maybe remove the default textarea and just a create a new...

View Article

chillrobot on "Implicit file upload size limit of 100MB?"

My hosting company, Dreamhost.com, walked me through how to increase the file upload size limit because the methods described here weren't working. Their method involves creating a phprc file:...

View Article

hovida on "wp-cron.php - wp_mail not working"

Hey guys, i wrote a simple Plugin for sending mails over the cronjob. WP_CRON is disabled and outsourced to crontabs on the server, for example: * * * * * /usr/bin/php5 -f...

View Article


theleafszone on "integrate blueimp ajax chat with wordpress"

Has anybody integrated the blueimp ajax chat with wordpress (login to wordpress, automtically logged into chat). Seems like it should be fairly straight forward but not sure where to start

View Article

greathug2u on "Save user input data from settings api"

I'm writing a plugin that's using the settings api. Can someone please tell me how I could save the data that users enter into the settings fields and use that in a function after users hit the "Save...

View Article


rohantendolkar on "Help Needed with Menu based on tag and catagory Intesection"

My website have categories on which i have modified so that i can put menu and images on header. i want to provide with menu (of tags) which will refine result for that category and tag. menu( based on...

View Article

jzmwebdevelopment on "Homepage Block using Woocommerce"

I am trying to work out a way to be able to get Woocommerce products displaying like http://d.pr/i/fFjs would it be best to use a custom post type? I really need the image a title and a short...

View Article


KW923 on "Security Question: SQL Injections"

Hi, I have heard about the importance of properly sanitizing or preparing SQL Queries while developing plugins. I'm just not sure if I understand how to do it. I've created my query which takes the...

View Article

Hube2 on "Show a specific page instead of 404"

This may be an odd question, but here goes. Lets say that I have a page that has a URL that is: http://www.mysite.com/logical/url/sturcture/ but we want to keep that url from an older version of the...

View Article

rafaht on "Problems with tags display"

Hi, I've modified a theme to my like. I created a CSS class to the post tags and searching, I found this: http://codex.wordpress.org/Function_Reference/get_tags. I've adapted this: <?php $tags =...

View Article
Browsing all 8245 articles
Browse latest View live