Building a simple “settings” plugin to change textstrings on the home page

As I understood you correctly you just want to rename ‘kkpo_quote’ and you have conflict. Not to have conflict try to replace all ‘kkpo_quote’ with same name, for example: if you replace ‘kkpo_quote’ with ‘new_quote’ in register_setting(KKPLUGINOPTIONS_ID.’_options’, ‘new_quote’); then make sure that you replace it with ‘new_quote’ where ever is ‘kkpo_quote’ There is 7 times … Read more

Changing upload directory for plugin uploads only

There must be something identifiable about your form data, such as your input names. Check for one or more of those and process accordingly. function custom_upload_dir($args) { if (isset($_POST[‘something’])) { $args[‘path’] = $args[‘basedir’] . “/mypath” . $args[‘subdir’]; $args[‘url’] = $args[‘baseurl’] . “/mypath” . $args[‘subdir’]; } return $args; } After some investigation, the only things I … Read more

Multiple Block Quotes without using HTML

you can create shortcode for that 1.make a shortcode unsing add_shortcode(functions.php) add_shortcode(‘bquote’,’ravs_blockquotes_func’) function ravs_blockquotes_func( $atts, $content=”” ) { extract( shortcode_atts( array( ‘style’ => ‘style1’ ), $atts ) ); return ‘<blockquote class=”‘.$style.'”>’.$content.'</blockquote>’ } 2.now just simply define quote in shortcode(post or page editer) [bquote style=”style2″]your quote[/bquote] it’s output in html like <blockquote class=”style2″>your quote</blockquote> 3.create as … Read more

Client Profiles

Do they clients ever need to log in? If so, I would make them users and give them a custom role. Then add all the meta to the user profile page for that user only. In that case, see: http://codex.wordpress.org/Roles_and_Capabilities If not, I would make them custom post types and use something like Scribu’s Posts-to-Posts … Read more