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

johansenkristian on "List of posts with content"

Hi there, Im trying to make a list of post with a specific category.. I want the_content, some text and a custom field with the title displayed.. I havn´t included the custom field yet in the code. I...

View Article


waltone57 on "Hide payment based on selected shipping method"

I've been trying to find out how to hide certain payment gateway based on selected shipping. I have been working with this code but nothing so far. Any help with this? add_action(...

View Article


learnandcode on "Redirect after form submission"

Hello. I have widget that is prepared for making appointment and I need to redirect to another site after submission. But as I never dealt with WordPress nor php I have big trouble with determine what...

View Article

ryanparrish on "Hacking Woocommere Warranty Extension"

Hello, I want to remove the text "Warranty" from the cart I have a limited understanding of PhP I am assuming that it is a display string that I can alter. Although, I am not sure where that would be...

View Article

poliquinp on "Search & Filter automaticly select a specific post type"

Hi, I am using the free version of the plugin Search & Filter (http://www.designsandcode.com/wordpress-plugins/search-filter/) and I would like to know if it is possible to automaticly select a...

View Article


djPaulWall on "Adding Subdomain to a single page"

I want to create a subdomain mpdg.mpeng.us to go to http://mpeng.us/services/design-group/ I tried setting it up in cPanel, but can't figure out what the Document Root should be... Please help!

View Article

xymalf on "Local WAMP server says function undefined"

add_action( 'admin_menu', 'boj_menuexample_create_menu' ); funtion boj_menuexample_create_menu() { add_menu_page( 'My Plugin Settings Page', 'Menu Example Settings','manage_options', _FILE_,...

View Article

xymalf on "critical error"

Parse error: syntax error, unexpected ';', expecting '{' in C:\wamp\www\WPDev\wp-content\plugins\menu_example\menuexample.php on line 26 */ add_action( 'admin_menu', 'boj_menuexample_create_menu' );...

View Article


xymalf on "Plug in menu causing fatal error"

add_action( 'admin_menu', 'ch3mlm_admin_menu' ); function ch3mlm_admin_menu() { // Create top-level menu item add_menu_page( 'My Complex Plugin Configuration Page', 'My Complex Plugin',...

View Article


revxx14 on "Great, free idea for a mega menu plugin. Someone please make it...

After hours and hours of fighting with nav walkers, I thought there needed to be a better way for web developers to create mega menus. After thinking about it a bit, I've come up with this: Wrap second...

View Article

xymalf on "syntax error"

function sp_admin_menu() { add_menu_page( 'sp_options', 'application', ); <------------says syntax error. } add_action( 'admin_menu', 'sp_admin_menu' ); function sp_options_page() { require_once...

View Article

xymalf on "how do I add an application page to this code."

`add_action('admin_menu', 'my_plugin_menu'); // Here you can check if plugin is configured (e.g. check if some option is set). If not, add new hook. // In this example hook is always added. add_action(...

View Article

jeriksson on "Get post title as the_post_thumbnail alt tag, how?"

Hi, I'm a novice at this, i can't figure out how to get the post title as the post_thumbnail alt tag, i've read a couple of threads and tried using this code but it won't work, i'm suspecting i've...

View Article


ryansigg on "Quick method for adding Child page from Parent"

In the never-ending hunt to make WP even easier and quicker for clients, I'm looking for a method to add Child posts/pages/CPTs from a parent page (I've searched the forum, but it seems almost every...

View Article

somethingelse on "wp_editor incorrectly parsing links? not sure"

i've added the wp_editor to my buddypress profile editing page... that in itself was a trick... it works pretty well... except that it's breaking the inserted links. so - the code in my custom...

View Article


jcc5018 on "Access variables from custom post types for calculations"

So I need some help. I don't expect someone to make this whole thing for me, but I figured I would explain it so you know what I am trying to do. I am somewhat familar with basic php and how to access...

View Article

rusty1001 on "How to find plugin page and or file"

Hi I have a plugin that needs customization, The site uses a plugin to pull data into a page on the site. <?php dynamic_sidebar('Property Page'); ?> <?php dynamic_sidebar('Property side');...

View Article


Luke Janicke on "'image' shortcode?"

I am writing a custom image shortcode. I would like to use the shortcode [image]. It doesn’t seem to be an existing shortcode. It isn’t defined in the core WordPress file where (for example) the...

View Article

mayonis on "Random Error 500 When Using "upload_dir" Filter"

Hi, I get random error 500 and error 404 when I use upload_dir as below: add_filter('upload_dir', 'lean_upload_dir'); function lean_upload_dir( $upload ){ $upload['url'] = '/files'; $upload['baseurl']...

View Article

Mudplugger on "Making Spider Event Calendar available to users other than...

A Few people including me have asked the plugin author if this is possible and while it is not a feature of the plugin itself I have a work around that enables the requested functionality. This...

View Article
Browsing all 8245 articles
Browse latest View live