wordpress

I want to learn wordpress from scratch. How can I learn?

Please guide me. I want to learn WordPress from scratch. Should I buy an ebook, or are there any good online resource available? ...

Permalink with Taxonomies in Wordpress in the form /%term_id%/%term_slug%

I need a permalink to be in the form /writer/%term_id%/%term_slug/, as /writer/123/hand-made-shoes I get the following code but it do not resolve the correct permalink. What could I be missing? function writer_structure(){ global $wp_rewrite; $writer_structure = '/writers/%writer_id%/%writer%'; $wp_rewrite->add_rewrite_tag...

Wordpress 3.0 MU URL Redirect Disable?

When setting up Wordpress 3.0 Multiuser, I notice that if you try and access it from any URL other than the one configured (whatever.com) it will redirect you to whatever.com. This is a problem because I have it configured to use whatever.com, however I need to setup a staging area on a different URL to preview it before it goes live. ...

Can I use the native wordpress feedback system in my plugin?

I'm writing a plugin and naturally, I'm reporting feedback to the user of if their submission was accepted or not. Is there a way to tie into Wordpress's feedback mechanism? I'm doing my own, but I'm wondering if there is a better way. ...

A simple Wordpress widget: MySQL Error

I'm trying to create a widget for Wordpress. The widget displays the records from the database. function.php in themes/vigilance/ : if (function_exists('register_sidebar_widget')) { register_sidebar_widget('TwiMoldova','twimoldova'); } function twimoldova() { include('widgets/twimoldova.php'); } themes/vigilance/widgets/twimo...

Wordpress post loop have posts fatal error?

I made a custom post loop query based on data from another plugin. I get this error: Fatal error: Call to a member function have_posts() on a non-object Here is the code I have made: ...

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...

is it true that if we make any site in any cms, it may become heavy to load...compare to static

is it true that if we make any site in any cms, it may become heavy to load... static html page VS page where content coming from databse ...

how to use plus sign instead dashes in wordpress

hey like i said in the question i want use the plus sign(+) instead of dashes so the posts will be like that: some+post+test another question , when i use non-latin characters the wordpress break the permalink and preserve just 30 words !! how can i solve that? ...

How to add properly a plugin to a theme in WordPress

I have downloaded an existing plugin from the web to use in my theme. How do I add it correctly to the theme I am developing without using wp-content/plugins folder? ...

How to add a form in wordpress using wordpress predefined functions

I'm using wordpress 3.0.1 and using stheme.i want to add a new form below the comment form with some fields like name,email,phone.no,etc.how to add a new fields using wordpress functions.for eg.in comment form there is a predefined functions like get_approved_comments,get_comment,comment_field etc.Is there any functions in wordpress to c...

Wordpress different featured image size for different post types

You can enable featured images for posts and set their size by using the following code in your function.php file: add_theme_support('post-thumbnails'); set_post_thumbnail_size(107, 69, true); but this sets the image size globally for any post types. Im using wordpress 3.0 and have created my own custom post type. Is it possible to ap...

Wordpress loop show limit posts

this is the basic loop <?php while (have_posts()) : the_post(); ?> i want to show 20 posts on the search results page, i know we can change the value on admin panel options. but it will change all i.e. index page and archive page etc. I need to have them differently. thanks! ...

Twenty Ten, dropdown menu appearing with fade effect

Hi, How can I have the Twenty Ten dropdown menu appearing with some fade effect? If you put your mouse over the "A parent page" it promptly shows a dropdown list with all pages. However, would like to have it showing with some fade effect. ...

Word press geo location posts?

Hi guys I would like to build something along the lines of this http://demo.woothemes.com/cityguide/ Where I can click a point on the map which will link to a post, I would also like this to be search able by post code or town, so if you wanted to find shops in London, you'd type London and it would show all relative posts which ar...

Removing posted by and date from posts on wordpress

How do I remove the date added/admin/no comments section of each one of my posts in my wordpress blog here http://www.kvylfm.com ...

What is the best way of reading parameters in functions?

Hi. I've created several helper functions which I use when creating templates for Wordpress. An example is this: function the_related_image_scaled($w="150", $h="150", $cropratio="1:1", $alt="", $key="related" ) The problem is, if I only want to pass along the $alt parameter, I also have to populate $w, $h and $cropratio. In one of m...

how to search in wordpress from the database mysql

i am having website www.xyz.com in wordpress,i want to implement search option in the home page it should be in the manner when a user search for state or thorough pin code he should get the result, so kindly let me know how do the same and what is the codding . i am using coding is: Find a Yoga Class in this City: this for search...

sexy bookmark plugin breaks my site in ie6

The sexy bookmark plugin is breaking my wordpress site in ie6. It's showing some error message. Is there any way that i can disable the plugin if ie6 is detected? ...

Wordpress: adding active class to wp_nav_menu items

In Wordpress (3.0.1), if I use the GUI to update the Main Menu to include an item called News: ** URL: /news/ Navigation Label: News Title Attribute: news ** the News item shows up in my menu. Great. But when I click on it and navigate to the /news/ page, WordPress does not add a current_menu_item class to the <li>. Nor does it giv...