wordpress-theming

Wordpress query_posts adding two "post-entry" divs, one with "post-thumbnail" and one without.

Hi my name is Antony and this is my first question. I'm currently making a worpress theme. And in the loop I want to have two "post-entry" divs one that's small that goes next to my post thumb, and one for without the thumb. I know that I need to do a <div class="post"> <?php if ( has_post_thumbnail()) { ?><div class="post-thumb"> <...

wordpress custom theme option

Hello, I'm working on a custom wordpress theme with a little bit of backend admin system. Why I need to declare global $options; foreach ($options as $value) { if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } } multiple times in header and foote...

Wordpress Email subscribtion ?

Hi, I have Wordpress blog site and I wanted the users to enter their email to subscribe to my blog.If i add any new post in the blog the subscriber should to get the email alerts. I know this is possible since I have seen in many blogs. If anyone know how to implement this in Wordpress, let me know. ...

How to add sidebars in footer of the wordpress(version 3.0) theme ?

I want to add sidebars or widgets to wordpress theme, I tried many tuts online but they failed because they are to outdated. My website link is here http://lifetothebrim.com I want to add sidebar in three column layout. Thank you ...

WordPress 3.0.1 Install on MS IIS v6 Web Server

Hi, Have just installed WordPress 3.0.1 running on MS IIS 6 Windows Server that I developed from my Mac OS X platform. Pls note that my WordPress setup is under the following directory sructure: c:\inetpub\wwwroot\MYSITE The problem here is though, with the site up and running, it can't seem to find any of my pages like "About Us" ev...

Add custom markup to Wordpress menu

I've been search for a long time now for a solution to this problem but found nothing so you guys will be my last hope! I'm trying to build a new CSS3 menu on a Wordpress 3 site that I'm working on. I would need to extend the default menu mark-up but not sure how. This is the tag I'm using in the theme to output the menu at the moment:...

wordpress navigation help

Hi There, I currently have a nav menu that is built with the following, <?php if(!is_user_logged_in()) { wp_page_menu('show_home=1&exclude=214&exclude_tree=80'); } else { wp_page_menu('show_home=1&exclude=214'); } ?> My problem is that I have some buddpres...

WP Theme page displays in IE but not in Firefox

Hi I have a WPTheme problem with a page not displaying in Firefox and I have tried to fix this but so far I cannot see why & have had no success in fixing it! (strangely it displays as it should in Internet Explorer browser) The page/site can be seen at my wponlinethemetest site I am grateful for help to fix this & look forward to help...

wordpress blog styling

hi, I am looking for a tutorial on how to style my word press (hosted on word press) blog to look like my businesses home page. I would like the links to work and look the same. The site isn't completely styled in CSS, but can maybe move more of the styling to css from the HTML. Can someone point me in the right direction where I nee...

In WordPress how do you register built-in taxonomies with custom post types in code?

The WordPress codex has a lot of examples of how to register custom taxonomies with custom post types, but I couldn't find much about using built-in taxonomies (tags & categories) with cpts. I have a cpt called listings, and I need to add the standard category and tag UI elements to the listing cpt page. I also need to do this with code...

How do I stop Wordpress from writing single quotes in the HEAD tag?

I have a fully updated wordpress site with some plugins that enqueue some styles, javascript files, etc. Wordpress writes these items out with single quotes which is screwing up how browsers interpret them. For example, Chrome uses the items correctly as if they were in the head, but then moves them to the body tag, creating a gap at t...

How to create secondry menu in twenty ten theme? (wordpress)

How to create secondry menu in twenty ten theme? (wordpress) ...

Separate Post and Pages from WordPress Search Results

Hi! I am looking for a way to present search results in my custom wordpress theme. I was hoping being able to present the results like this: Displaying 4 search results for "test" Pages testpage 1 testpage 2 Posts testpost 1 testpost 2 I wrote a function is_type_page that I can use inside the loop (2 loops), but this brea...

get post content into header

Hi all, i have to get the post content into the tag <head>. I was trying with this code into the header.php file of my theme: if(is_single()){ $stringa = the_content(); } but it doesn't work. how can i do? thanks ...

Trouble with using a script

Hi, I got a problem which i might have some problem explaining without sharing hte files. But I will try. The site is only local at the moment. I am working on a wordpress theme which uses custom posts and taxonomies. Every custom posts (3 in total) have their own single view. <?php if ( have_posts() ) while ( have_posts() ) : the_post...

How to create multiple custom pages in wordpress?

I am designing a website in wordpress. I have 1 custom home page & another are single themed pages. Now I want to add some more landing pages with different design. How can I get this? ...

Looking for Wordpress plugin for images, text and buttons.

I am designing a website in wordpress. I have 3 boxes on the home page and I have widgeted them. Now I want to add their image, text, heading, and "read more" links. I have searched for a plugin to do this without success. I want to know about a plugin which can add image, text, and a read more link (button) to posts. ...

How to create a custom post type in home page?

I have an custom home page in my site. I want to add 3 custom post ares to update images, text and links. How it can be done in wordpress 3.1? ...

PHP mailer with WordPress - how to pull admin email?

I'm trying to use a mailer in my WordPress theme, but I don't seem to be able to pull admin email from WordPress. I have a mailer.php file in my theme folder and tried using get_bloginfo('admin_email') function but it doesn't work. I'm a PHP newbie, but I'm guessing the mailer.php file isn't "connected" to WordPress installation. I trie...

WordPress custom post type Single.php?

I have a WordPress custom post-type setup. I've created single-[customposttype].php However instead of displaying only the requested custom-post-type it goes to the URL, then displays all of the posts in the custom-type. Here's a copy of the code i'm currently using: <?php query_posts("post_type=shorts"); while (have_posts()) ...