wordpress

apply_filters() function in wordpress

hey guys im really frustrated im looking for a way to retrieve back my slug to the normal text as wordpress does in wordpress there is a function to do so : apply_filters('editable_slug', $slug) i search all related files to find what this function does, but couldn't understand a bit. as ypu may know , making a slug out of a nor...

WordPress form creation plugin that allows: Step 1 > Step 2 > Step 3 > Submit

I'm looking for a WordPress form creation tool (plugin) that supports multi-part forms. For example, step 1 > Step 2 > Step 3 > Finish Many thanks in advance for recommendations. ...

LAMP Stack with APC installed - WordPress Site - Is WP opcode being cached with APC?

I have a LAMP stack with APC installed. I have a WordPress site on this server. Is WP taking advantage of the opcode caching? I have done no WP configurations. My understanding is that simply having APC installed means that all PHP code is being cached. If that is untrue, please point me to the direction where I can configure WP to take ...

how to make sidebar NOT equal to content in wordpress

I want the wordpress sidebars got an specific height, NOT equal to the content to the post/page. Just 400px, for example. I`m working with atahualpa. Which code in wich php i got to hack? Thanks ...

wordpress parent & Child Menu

Is it possible to have the Parent menu to be redirected to the child menu? As an example I want this parent item page to redirect to it's children page. My code for displaying pages as the Main Menu: <?php wp_list_pages('exclude=3&sort_column=menu_order&title_li=&depth=1'); ?> here is my code for listing the children menu: <div id=...

add tinymce to wordpress plugin

hi, is there a way to add tinymce into my own wordpress plugin? i've got a textarea in my backend script and want to make this area into a tinymce wysiwyg editable field. is there a way to do that? edit <?php wp_tiny_mce(false,array("editor_selector" => "test")); ?> <textarea class="test" id="test" name="test"></textarea> doe...

Path to WordPress Template Directory inside jQuery?

My header is calling a javascript file which sends out an email: <script type="text/javascript" src="<?php bloginfo('template_directory') ?>/css/effects.js"></script> But inside this file, I have a jQuery code that calls a .php file that does the actual sending of the email: $.ajax({ type: "POST", url: "css/sendmail.php", data:...

Is WordPress MVC compliant?

Some people consider WordPress a blogging platform, some think of it as a CMS, some refer to WordPress as a development framework. Whichever it is, the question still remains. Is WordPress MVC compliant? I've read the forums and somebody asked about MVC about three years ago. There were some positive answers, and some negative ones. Whi...

[Wordpress MU] Changing the uploads directory

Hi, I've looked everywhere and while there is solutions to change the uploads directory for all the blogs by changing this line in the wp-settings.php: define( "BLOGUPLOADDIR", WP_CONTENT_DIR . "/blogs.dir/{$wpdb->blogid}/files/" ); I can't find a way of changing the directory for each blog individually, something like: define( "BLO...

Using exclude on category listing is busted

I've cloned the default category listing widget so that I can exclude listing any category whose parent is the default uncategorized category (cat_ID = 1). Here's my code, however, its not working. I still have items being listed even though their parent category is "uncategorized"... $cat_args['title_li'] = ''; $cat_args['excl...

Wordpress css and ie6

my website : http://www.equipe94.com have a two column layout and in ie6 the right column is flushed at the button... it look like and inline problem, but even WITH the inline widget.. it's still at the bottom.. any idea to fix a wordpress template to play well with ie6 ? thanks in advance n.b. As mentioned in the comment... my page ...

wordpress target dont validate

I get into a problem... i use for all the sponsor link on the site a target="_blank" wich is an option that you can select into the WYSIWYG editor of wordpress (no hack) So if this option IS availible, why it dont validate... and if to validate you have to be in non strict mode why the strick mode is define ? i know there is a javascr...

WordPress: Display Single Post

I am trying to display a WordPress post on the homepage of a site. It is reporting the following error: Parse error: syntax error, unexpected '=' in /home/####/####/####/####/wp-content/themes/oceanswaves/home.php on line 105 <?php query_posts(‘p=143′); if(have_posts()) : the_post(); ?> <?php the_content(); ?> <?php endif; ?> Than...

css calculation of the width

I got into a math problem my content box is 700pc wide my hentry (inside content) is 100% wide with padding of 10px wich make the hentry to be wider that the content resulting and overflow... Any solution Here is the page : http://www.equipe94.com I have firebug and removing the width 100% work, but it send by wordpress so how to ov...

semi dynamic cdn

i'm developing couple of websites using php (directory script, etc.) and wordpress as cms. i need to improve its performance, by using cdn for static files (css, js, images). the problem is, css and javascript files are generated on the fly. i did that due to yahoo and some expert advice to combine the files into one file. also changing ...

wordpress php > div issue

Thanks in advance for you help > Ive been doing this as a lovejob for friends and now im getting quotes of several hundred dollars for minor homepage variation and I'm not sure if its valid. I'm not a programmer myself, just trying hard :) Via the CafePress press75 theme, I'm trying to go from 1 / 2 / 3 column home layout, to 1-2 merge...

Wordpress page will not password protect from the visibility options.

First time trying to use the password protected visibility option on a Wordpress page, and it seems to do nothing. After adding a password, if I view the page it never asks for a password. Different browsers, clearing out all temporary files, logging out of wordpress admin, nothing makes a difference. Even logged into a remote computer t...

excluding posts in Wordpress

I wondered how I could exclude posts in Wordpress. E.g. I have a string $exclude_ids (= "4,5,6") or (="-4,-5,-6") and I would like to prevent these posts from showing up. How would I do that? I already tried: query_posts('p=' . $exclude_ids); but that didn't really work out and I didn't really find any information regarding this ...

Not being prompted to download CSV file.

I've created a custom solution in WordPress that will generate a CSV file to be downloaded by clicking a simple hyperlink, linked directly to this file. Instead of being prompted to download the file to the computer; the CSV opens in the the browser window instead. FWIW I'm on Media Temple using a vanilla install of WordPress. ...

Stacking two pictures with captions side by side and centered in Wordpress

Hi all - this is driving me absolutely nuts. I'm not the most experienced with CSS, so I'm hoping it is something simple. I'm running Wordpress 2.9.2 with "The Morning After" theme. I am trying to write a post where I want to display two small pictures, with captions, side-by-side and centered in the middle of the page. Here is the HT...