wordpress

HTML anchor too pull all Sticky Posts ?

Is there a way to format an tag to send a query, pull all Sticky Posts, and loop through them? Since 'sticky' is not a category, I cant format the link in the normal : http://mysite.com/category/cars I'm thinking is probably going to have to be some kind of url query string sent in as GET. ...

Wordpress contact form 7 chrome issue?

Hi i'm using contact form 7 plugin for a really long form. My issue is that when I fill my form in chrome and press send to test the fields validation it clears my form of all my content. Yet I do not get this issure in ie7 or firefox. Is it to do with chromes interface? Thanks for all your help Regards Judi ...

Wordpress themeing

Hi there I am realtively new to wordpress so please bare with, I am creating a custom theme, and so far it is going ok, I current have index.php, header.php, footer.php and sidebar.php I have now hit a bit that has been puzzling me for a couple of days. My home page has a slightly different layout to other pages, how do I theme for th...

wordpress shortcode for wp_list_categories()

I'm tyring to list all the catagories in a page. I tried doing it but i'm not that pro. and i kept getting error on functions.php. thanks for your help ...

WordPress > Optimizing a query to show recent posts with a "View All" link when postcount exceeds maxpost setting.

I have a setting in my theme that allows the site owner to set the maximum number of posts ($maxPosts) to display in a "Recent Posts" menu. I'm using a custom script to generate the recent posts (because the Recent Posts widget does not highlight the current page, which I need for my css). My menu also is set up to display a "View All" ...

Wordpress homepage problem

My wordpress is not setting the front page correctly, I have several pages, all of them static apart from a news page. I have set the home page, by going to settings->reading and then setting the static page I want to be front page. However when I run is_home() it returns false on what I believe to be the homepage. What have I done wr...

Why does the "choose files" button not work in Wordpress 2.5 when trying to upload photos?

I've got Wordpress 2.5 installed on my website. It works well, but I can't get the photo uploader to work. When I'm writing a post, I click on the "Add media" button. In the "Choose File" tab, I see the "Choose files to upload" button. When I click on it, nothing happens. I searched the net and found nothing helpful. One page vaguely men...

Wordpress - Shadowbox skinning & sizing

Hi, How do I skin shadowbox and make sure popup size is fixed size? The css part is ok since it's just overriding ids and classes. However, I'm not sure what the markup.js is supposed to look. So here are my questions: 1. I created shadowbox-custom-skin/markup.js and added the hook like add_filter('shadowbox-markup', 'shadowbox_cu...

How to pass URL variables into a WordPress page

This has been asked on here (over a year ago), but apparently not answered, and WordPress is always evolving so maybe theres a good solution now. I want to pass variables to a WordPress page via the url (similar to CodeIgniter uri helper segments). Currently I can do this... My profile page is: http://website.com/profile I can pass a...

Losing reference to $_post variable?

In the code below, the echo at the top returns true, but the echo at the bottom returns nothing. Apparently the code in between is causing me to lose a reference to the $_post variable? <?php echo "in category: ".in_category('is-sidebar'); //RETURNS TRUE if (!get_option('my_hide_recent')) { $cat=get_cat_ID('top-menu'); $catHidd...

WordPress: add a customized Category Manager to the *PAGE* editor

In WordPress, the post editor contains a Categories panel that allows you to assign categories to posts. However, the page editor does not have a Categories panel. I'm sure this is by design, but I need a modified set of category items to be available to pages. I've found that I can add the line of code below to my theme's functions.php...

Changing Theme code of Wordpress via Plugin

How can I changing/ adding code of the Themes with a wordpress plugin? Example: Adding before or after the comments-forms a few lines. ...

Webpage - Wordpress,Joomla or any other tempalates for my custom site

Dear All, I am working for a university project and for this project I have the following custom scenario Could some body point me to right resource( any template or framework) ? 1) Registered student can create a topic , Once he creates a topic I have to generate dynamically a web page for this topic with 4 main areas ( some what l...

Wordpress Custom Field

I wanted to use the custom field for wordpress to have a different header banner for my site here is my code: <?php get_header(); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div id="BodyWrap"> <!--MAIN CONT--> <div id="mainCont"> <?php get_sidebar(); ?> <div id="rotateBanner"><?php // c...

Replace an array of strings in content for Wordpress

I'm working on a music blog that provides review scores ranging from 0.0 - 10. Since the authors already developed their system of typing in the score in the content, I'm trying figure out a way to emphasis them better. Example: "Score: 6.4" returns something like <div class="score">6.4</div> Is there way to do this in an array t...

Wordpress Post # of #

I'm looking for an easy way to assign a post number to each post in wordpress and display it out of the total number of posts. A little info: There will be about 100 "posts", each on its own page I want users to click through each post, so start at post 1 and click "next post" to get to post 2 I want it to say post 4/100 at the top for...

please help!!! this plugin to exclude Pages from the Front Page does not work.

add_action('admin_menu', 'pag_admin_menu'); add_filter('wp_list_pages_excludes','exclude_PAG'); function pag_admin_menu() { add_options_page('Exclude', 'Exclude Page', 'administrator', 2, 'Pages'); } function Pages() { if( $_POST[ 'xclu_pag' ] ) { $message = process_PAG(); } ...

Add the categories selector widget to the PAGE editor with predefined categories listed?

The following code will add the categories selector widget to the WordPress Page editor interface... add_action('admin_menu', 'my_post_categories_meta_box'); function my_post_categories_meta_box() { add_meta_box('categorydiv', __('Categories'), 'post_categories_meta_box', 'page', 'side', 'core'); } What I would like to do is to fi...

Wordpress: Forcing a widget to display?

I've been trying to make a widget which stays active permanently on a wordpress sidebar, preferably being on top before all other widgets. However the only way I have figured I can do this is by manually modifying individual sidebar.php's but that is slow and inefficient. So is there a way I can force a widget to display in a sidebar? I...

Wordpress plugin help

Hello, On my wordpress site, I am hoping that I would be able to set up a page that only allows the users to access it if the member is logged in. I still need the link to be available in the navigation but for it to check if the user is signed in... I have been searching for about an hour and cannot really find anything that fits my ...