wordpress-theming

WordPress Visual Editor - Indent Button and Unordered Lists

Hi, I'm using the Twenty-Ten theme and just want to know whether the indent button in the Visual Editor actually works for unordered lists b/c I can seem to get it to add inside the ul tag a padding-left of 90px? The puzzling thing about this, is that I am using Custom Page Template themes where it all seems to work fine in my "About U...

Adding a second Wordpress widget

I'm having difficulty with setting up a second sidebar for my Wordpress theme. Here's the code for function.php: <?php if(function_exists('register_sidebar')){ register_sidebar(array( 'before_widget'=>'<li>', 'after_widget'=>'</li>', 'before_title'=>'<h2>', 'after_title'=>'</h2>', )) ; } ?> <?ph...

Conditional if statement / is_page not working in Worpdress 3.0

i've tried a number of variations and i know this works when i put in is_home even though thats not what i'm trying to achieve but it display it on every page.... if i try anything else like is_front_page or like wha ti have in the example below which is what i'm actually trying to achieve then it doesn't (work!). can anyone help please?...

I have finished the layout design (html & css), what should i do to convert it to a wordpress theme.

http://www.faressoft.org/BlueCristalTheme And http://www.faressoft.org/BlueCristalTheme/postView.php What is the next step ? ...

jQuery Scrollable inside WordPress Theme

Hi, Hoping someone can assist. I would like to use the following jQuery Scrollable plugin (which is displaying 5 photos per pane), from http://flowplayer.org/tools/demos/scrollable/plugins/index.html on a Page in my WordPress theme but in a way that will allow the WP Admin user to go into this page and add/remove any images they want w...

How to create new wordpress widgets for my themes

How to create new wordpress widgets for my themes ? ...

csshover3 doesn't work with wordpress !!! [Fix IE6 Hover]

csshover3 doesn't work with wordpress !!! [Fix IE6 Hover] behavior:url('Script/csshover3.htc'); /*From Style.css*/ http://photoshop.faressoft.org ...

wordpress/mysql problem for building nav menus

I am working on a wordpress theme and need to select posts that are in multiple categories to build a menu. I could set it up to work off of the tags, or a combination of tags and categories, but in the end I need to be able to search by multiple cat/tag. The only built-in wordpress function that I have been able to find that allows for...

Wordpress show link of parent and child pages

Hi There, I am building a wordpress site and in the sidebar I wanting to show the sub nav of the section the user in, so I would like to show something like if they were on the about page, About Links Useful Contacts However at the moment I have only managed to the child pages out (Links, Useful Contacts), how would I show th...

Including WYSIWYG Editor in Plugin Admin Settings Page?

How would I include a WYSIWYG editor on the admin settings page as opposed to a standard text area? Thanks. ...

enable wpautop filter on single posts only

I've added the following to my wordpress themes functions.php file: //disable wpautop filter remove_filter ('the_content', 'wpautop'); remove_filter ('the_excerpt', 'wpautop'); Which strips out all those pesky <p> </p> tags wordpress wraps around everything! However, I was wondering if there was a way to do this ONLY on non-single pa...

CSS : maximum image width for a wordpress theme (or any theme, really)

In word press, if you upload an image, and let it display in 100%: if it exceeds its containers width, the theme will either: a) be broken, messing up the layout of the page or b) hide the extra width it cant display This is for a non-fluid layout, of course. The solution presented here: http://lorelle.wordpress.com/2006/10/07/the-...

wordpress mod_rewrite problem

I have a plugin "Theme My Login" for WordPress 3.0.1 which causes my user's profile pages to be here: domain.com/login-2?action=profile instead of here: domain.com/profile So I am trying to fix it with mod_rewrite like this: RewriteRule ^profile /login-2?action=profile But it seems to do nothing. I suspect it's some weird thing happen...

Wordpress complex portfolio page

I've hired a Wordpress programmer for coding my site in wordpress. I'm using a year slider on portfolio page where one can sort projects within certain range eg 2004 to 2007, 2005 to 2009 etc. He is using posts to publish project details and earlier suggested to use post date as published date, which isn't entirely true and I wasn't comf...

Wordpress-theme in html5 or xhtml?

Hey It's been a while with html5 floating around. Is it good to use it for a blog? It makes SEO better for sure, but does it harm the layout with older not-supporting-html5 browsers, like IE6? Also, should i just copy parts from Twentyten, or code from scratch? Twentyten must be created by someone who knows how to create wordpress-them...

Add submenu to Wordpress theme

Hi I want to add a submenu of a wordpress menu into my theme. I want to use the wp_nav_menu function of Wordpress 3.0. And in other words, I want to see the submenu not the subpages which means that wp_list_pages is not the right function because I want the submenu and not the subpages. Let's assume the menu structure looks like that:...

Posts in Custom postype not visible on frontpage wordpress

Hi, I have created a custom post type restaurant. But Its not coming on the main page. But I'm able to see the post in single view when using the permalink. Is it that I have to make any changes in the index.php? If yes what changes? I'm using the default Twenty Ten theme in wordpress 3. And how can I get only the custom post type in a...

Wordpress 3 multisite - Grabbing another blogs menu

I have a wordpress 3 Multisite setup with 2 sites, blog1 is the main site. And blog2 is a subdirectory of blog1. I have created a menu in blog one that I can call using wp_nav_menu, now in blog2 I want to show that same menu linking to blog1. Is there a built in way to do this? ...

WordPress Search Queries

Hi, I have added within my WordPress 3.1 site, the following code at the bottom of my sidebar.php file: <div id="search_box"> <form id="searchform" action="http://www.service.com/" method="get" role="search"> <input id="s" type="text" name="s" class="search" value="Search site" size="19" maxlength="80" id="white_box...

WordPress Search - Get_Template_Part

Hi, My search.php file makes reference to a function call of: <?php /* Run the loop for the search to output the results. * If you want to overload this in a child theme then include a file * called loop-search.php and that will be used instead. */ get_template_part( 'loop', 'search' ); ?> which al...