wordpress

Wordpress sidebar border

Hi, i would like to add an image that acts like a border after every list in the sidebar. I knew it has something to do with this #sidebar h2 { border-bottom: 1px solid #d6d6d6; } since i tried that code and a border appeared. But what i wanted is a picture, i could do that with in the posts with: .TitleBorder { background: url(image...

songs blog in wordpress

Hi folks I wish to start one blog using wordpress. It ll contain songs, playlists, song serch. What are the steps i want to do? thanks ...

How do I load only a single wordpress post via the url?

Hello, We are currently undergoing some reworking of our website - in the meantime, I am looking for a quick a dirty fix. We have wordpress setup, so that no-so-tech-savvy employees can add events, news, etc. However, there are currently sections on our site dedicated to what would be tags in Wordpress. For instance, we have posts in ...

Get page permalink and title outside the loop in wordpress

Hello, How to Get page permalink and title outside the loop in wordpress. I have a function like function get_post_info(){ $post; $permalink = get_permalink($post->ID); $title = get_the_title($post->ID); return $post_info('url' => $permalink, 'title' => $title); } when this function called within the loop, it returns the pos...

Get current page url and title in PHP

Hello, How to Get current page url and title in PHP ...

jQuery code not executing when DOM is ready

I have written a simple jQuery script that changes the hash tag of a link. I do this because I am using IntenseDebate comments in Wordpress but the comment link still links replaced id of the old comments. I'm using jQuery so that if javascript is enabled, the user can click on the comments link and it will take them to the IntenseDebate...

Wordpress media uploaded theme options

I have a word press theme with a theme options dialog I'd like to add a feature to upload a logo via the theme options page and then display it on the front end in the header as the logo. How would I do this. I would like to use the wordpress media uploaded, but if this is not possible or an alternative is available Id appreciate that ...

Turn all titles in wordpress powered site into "Capitalized" case

So what i need is a query or some tip on how to turn all titles on a wordpress powered website into capitalized case. What i have now is something like this: AAAAA BBBBB CCCCC I want it to be like this: Aaaaa Bbbbb Ccccc I did try googling and searching here, but have failed at that task so any help is much appreciated! UPDATE: I ...

New to WordPress - How viable is it as a CMS for a small business website?

I know the huge community of people behind WordPress has pushed it towards full-blown CMS territory over the past couple years, but I'm still unclear as to what extent. Would it be a good option to handle something like a small biz website with simple shopping cart for example? ...

Paging not working in my wordpress installation

I recently started a blog site and wanted to give it a magazine look. I used Wordpress for my blog and used the Arthemia theme with it. I also changed the permalink structure to point to /%year%/%monthnum%/%day%/%postname%/ structure. Now the problem that i have is that the paging has stopped working on my home page. When i click on the ...

Using WordPress as a CMS

Hi, Hoping someone can assist but I am currently teaching myself WordPress and working on my own CMS site. My site will consist of approx 5 pages where the header/sidebar menu/footer will be seen on all these 5 pages. Newbie here and questions are as follows: All these 5 pages will consist of different content, for example, every p...

Nasty redirect loop in WordPress (trailing slash, no trailing slash, and so on)

Hi, I read a ton of pages and tried lots of solutions but none have worked yet! My problem is that: test.asifa.net/asifa-wp Redirects to: test.asifa.net/asifa-wp/ Which redirects to the first page. What's a little bizarre is asifa-wp produces: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>301 Moved Perman...

jQuery slider not working in Wordpress plugin

I've written a plugin for wordpress and I want to use a slider on my page. In it's most basic form (now) to test, I have the for the slider on my page <div id="wpge-slider"></div> then in the plugin, I have my init action add_action('init', 'wpge_init' ); function wpge_init() { wp_enqueue_script('jquery'); wp_enqueue_script...

How to remove list from <?php the_category() ?>

I am using wordpress and I am wondering how do I get just the permalink and name of the category of a post when using: <?php the_category() ?> The above outputs a list and I just want to be able to wrap the permalink and category in my own markup ...

How does one suppress a 404 status code in a WordPress page?

I've got a WordPress site that includes pages pulled from a different database. The problem is that these other pages return a 404 status code. (The WordPress posts/pages are fine.) The 404'ed pages display fine, and I removed the "Page not Found" text from the title tag in WordPress. But Googlebot and W3C see the 404 header. So: wow d...

Custom Wordpress Post Page Breaks if More Thank 2 Posts?

I have a very custom template, and it works great if there are 1 or 2 posts on the blog page. But as soon as a 3rd post is added, it alters the structure of the template... Literally moves a div inside of another and I can not understand why. The code for the blog template is here, and a screenshot of the structure as it should be and an...

Wordpress Taxonomy

I am creating a Wordpress blog (no live link yet because it's still at a planning stage). I want to set up the following tag structure: Category 1: Services Tags: Web design, logo design, print design, etc etc. Category 2: Type of clients Tags: small businesses, large companies So each post will be tagged with one or more tags from Ca...

How to hide div serverside by reading cookie

I am using following a tutorial from here: http://www.shopdev.co.uk/blog/cookies-with-jquery-designing-collapsible-layouts/ This is the script I use: <script type="text/javascript" language="javascript"> $(function() { // SETUP: // When the info banner is clicked: $('#setup').click(f...

using jquery (json) to get ajax database entries in wordpress - PHP not working

I'm writing a plugin for my wordpress site and am having trouble understanding the jquery ajax requests. In a nutshell, I am trying to get some user meta data loaded when the page loads. So in my javascript file I have a line: $.getJSON("http://mysite.co.uk/wp-content/plugins/myplugin/ajax/ajax.php?action=test", function(json) { // do...

Get Wordpress sidebar from another Wordpress blog?

Hello, I want to write a plugin that will pull a sidebar from one Wordpress blog and place it in the sidebar of another blog. Can someone help me with this, please? I know to write a plugin, but actually dont know where to start with this idea. ...