-
Posted a reply to "adding post meta with sql query", on the site WordPress Support Forums:
Yes, a PHP approach is basically running a foreach loop on a query result, manipulating…1 day ago
-
Posted a reply to "Custom menu item potion", on the site WordPress Support Forums:
Just reverse how you build the $items string so yours is first: return $items =…5 days ago
-
Posted a reply to "virus spam or hacker", on the site WordPress Support Forums:
Your concern for vulnerable plugins is certainly understandable. There is always a possibility of a…5 days ago
-
Posted a reply to "adding post meta with sql query", on the site WordPress Support Forums:
Once again, I think the logic you need is too convoluted for a straight query.…5 days ago
-
Posted a reply to "Style a specific admin link", on the site WordPress Support Forums:
If it helps any, all you need on that stylesheet is this: #menu-plugins { background-color:…6 days ago
-
Posted a reply to "adding post meta with sql query", on the site WordPress Support Forums:
If I understand correctly, this is a one time script to bring existing data up…6 days ago
-
Posted a reply to "Limit user management within admin "groups"", on the site WordPress Support Forums:
Yes, you can hide user groups from other groups. Just like you use 'pre_get_posts' action…6 days ago
-
Posted a reply to "virus spam or hacker", on the site WordPress Support Forums:
Hi deyi83 - I'm sorry you're being pestered by those annoying hackers. You've identified the…6 days ago
-
Posted a reply to "Caching custom social share count in WordPress", on the site WordPress Support Forums:
Do I do freelance work? Not through this site, it's actually against the rules here…6 days ago
-
Posted a reply to "Help me use bigvideo.js in WordPress?", on the site WordPress Support Forums:
Hi jab8888 - I'm sorry you're struggling with this. I'm a bit unsure what I…6 days ago
-
Posted a reply to "wp_enqueue_style() with php file and css styles (php functions do not work)", on the site WordPress Support Forums:
I'm back! "It worked fine for me." :) This is on a new page using…7 days ago
-
Posted a reply to "Search - name="s" change to name="Search"", on the site WordPress Support Forums:
You could use 'pre_get_posts' action to assign any 'search' parameters to the 's' query var.…1 week ago
-
Posted a reply to "Add new page, etc", on the site WordPress Support Forums:
Use the register activation hook to call wp_insert_post() to create the page, using the default…1 week ago
-
Posted a reply to "Plugin install Page Templates", on the site WordPress Support Forums:
Some good questions! For the templates to show up in the dropdown on the Page…1 week ago
-
Posted a reply to "$_GET['lang'] returns "en" when it is supposed to return null", on the site WordPress Support Forums:
You apparently have a non-standard PHP or Server OS installation. Most PHP installations will not…1 week ago
-
Posted a reply to "Add extra, pre-set into to DB with New User", on the site WordPress Support Forums:
You need to use the action hook 'user_register'. The callback function you specify when you…1 week ago
-
Posted a reply to "Delete Xmlrpc.php", on the site WordPress Support Forums:
I second the need for another layer of protection from brute force attacks beyond checking…1 week ago
-
Posted a reply to "Caching custom social share count in WordPress", on the site WordPress Support Forums:
You could lazy load, that would help with page load speed, but you're still making…1 week ago
-
Posted a reply to "Inserting posts kills code below?", on the site WordPress Support Forums:
Right, it appears to be data related to some sort of media container that is…1 week ago
-
Posted a reply to "get_terms orderby random not working", on the site WordPress Support Forums:
Unfortunately, get_terms() does not recognize the orderby "rand" directive in the same way that other…1 week ago
-
Posted a reply to "Make a Post "Scheduled" via XML-RPC", on the site WordPress Support Forums:
Hmmm. I'm not seeing any code that prevents future posts in the xml-rpc server code.…1 week ago
-
Posted a reply to "Inserting posts kills code below?", on the site WordPress Support Forums:
I guess my being half right is better than being wrong :) You're right, your…1 week ago
-
Posted a reply to "How to make a file look like it does not exist (404 redirect)", on the site WordPress Support Forums:
As catacaustic said, it's difficult to send WordPress' 404 page, but you can send a…1 week ago
-
Posted a reply to "LDD Directory Lite", on the site WordPress Support Forums:
That function is in includes/shortcodes/_submit.php at line 288 At line 297 the $user_id is set…1 week ago
-
Posted a reply to "Dropdown type plugin", on the site WordPress Support Forums:
The page is essentially composed with all of these dropdowns displayed over other content. Each…1 week ago
-
Posted a reply to "Adding fields to front-end registration form: sanitize?", on the site WordPress Support Forums:
AFAIK, not true. update_metadata() calls sanitize_meta(), where you would think your data gets sanitized. Not…1 week ago
-
Posted a reply to "Inserting posts kills code below?", on the site WordPress Support Forums:
You are getting some kind of fatal PHP error that halts execution. Check your error…1 week ago
-
Posted a reply to "Listing Custom Posts in Custom Taxonomy", on the site WordPress Support Forums:
Add an additional loop for just parent categories. To get just a single level, provide…1 week ago
-
Posted a reply to "Make a Post "Scheduled" via XML-RPC", on the site WordPress Support Forums:
You can provide 'post_date_gmt' or 'post_date' as part of the content array (about halfway down…1 week ago
-
Posted a reply to "wp_enqueue_style() with php file and css styles (php functions do not work)", on the site WordPress Support Forums:
No problem with questions, that's why I'm here :) Yes, any "file" that uses WP…1 week ago
-
Posted a reply to "Looking for a comment name stripper", on the site WordPress Support Forums:
The correct filename is functions.php, plural! Without that 's', the theme loader just ignores your…1 week ago
-
Posted a reply to "Include and use PHP class into a wordpress page", on the site WordPress Support Forums:
@masudanwar - do not specify a HTTP protocol when using include statements. The path you…1 week ago
-
Posted a reply to "Serious site hack attack", on the site WordPress Support Forums:
That script, besides being outdated, simply removes option table data named 'client_data_run'. You could manually…1 week ago
-
Posted a reply to "Prevent Hackers", on the site WordPress Support Forums:
The techniques mentioned in Hardening WordPress are a good start.1 week ago
-
Posted a reply to "wp_enqueue_style() with php file and css styles (php functions do not work)", on the site WordPress Support Forums:
All that applies to the enqueue CSS issue applies to any browser's PHP file request…1 week ago
-
Posted a reply to "major defacment of 837 sites worlwide", on the site WordPress Support Forums:
I don't know the specifics of how access was gained in this specific case, but…2 weeks ago
-
Posted a reply to "Looking for a comment name stripper", on the site WordPress Support Forums:
You're in luck, twentytwelve is easy to customize output to the frontend. It uses a…2 weeks ago
-
Posted a reply to "wp_enqueue_style() with php file and css styles (php functions do not work)", on the site WordPress Support Forums:
Some very good questions! Unfortunately, I can't fully answer all of them :( I'll do…2 weeks ago
-
Posted a reply to "routing file upload info to checkout button", on the site WordPress Support Forums:
I'm not very knowledgeable about available plugins, I'm a "roll your own" coder. I would…2 weeks ago
-
Posted a reply to "Remove password for subscribers only", on the site WordPress Support Forums:
WP really wants there to be a password of some kind, even if it's very…2 weeks ago
-
Posted a reply to "wp_editor, allow guests to upload images?", on the site WordPress Support Forums:
From WP. you essentially cannot, because doing so is a huge security risk. Your only…2 weeks ago
-
Posted a reply to "Convert a PHP Nuke Module", on the site WordPress Support Forums:
Honestly? I think it's an ill conceived strategy. It sounds like it's tightly integrated with…2 weeks ago
-
Posted a reply to "Help with WordPress Permalink 301 Redirect via .htaccess", on the site WordPress Support Forums:
You will not be able to redirect to an URL containing date data by using…2 weeks ago
-
Posted a reply to "Serious site hack attack", on the site WordPress Support Forums:
Hi Paul, I'm sorry for your troubles. Like Jan said, you need to work through…2 weeks ago
-
Posted a reply to "wp_enqueue_style() with php file and css styles (php functions do not work)", on the site WordPress Support Forums:
Hi, it's me again :) It seems I've sent you down a path of confusion,…2 weeks ago
-
Posted a reply to "Custom Capability - show plugin menu to these users and admins only", on the site WordPress Support Forums:
You need to add the 'manage_myplugin' role to the admin role and any other roles…2 weeks ago
-
Posted a reply to "Looking for a comment name stripper", on the site WordPress Support Forums:
Manually stripping out names? Absurd! You need a solution :) I'm not knowledgeable of available…2 weeks ago
-
Posted a reply to "[Feedback / Questions] Simple Self-Stylable Pop-Up (first plugin)", on the site WordPress Support Forums:
Trying to decrease load time is certainly admirable, but the size of jQuery in proportion…2 weeks ago
-
Posted a reply to "get_category_link without the /category/ in the URL", on the site WordPress Support Forums:
You can use the 'category_link' filter and use string manipulation functions to strip out the…2 weeks ago
-
Posted a reply to "Filter out the active widget array list - WordPress", on the site WordPress Support Forums:
The widget has to have some way of knowing which array element belongs to it.…2 weeks ago
-
Contact Form 7 email verification
1,350 downloads