wordpress

Setting my Site's URL

Hi, I have setup my site with 5 pages which are my menu options. When running my WordPress site on my local host using MAMP, my url is: http://localhost:8888/mySite/ or http://www.mySite.com/ (when I go live) When I click on a menu item, it changes the URL to: http://localhost:8888/mySite/MenuOptionA or http://www.mySite.com/mySite/...

someone decrypt double bracket (php) notation for me?

<?php [[add_menu_page|add_menu_page]]( $page_title, $menu_title, $capability, $menu_slug, $function, $icon_url, $position ); ?> how does this [[add_menu_page|add_menu_page]] work? and what is the underlying logic? ref. http://codex.wordpress.org/Adding_Administration_Menus ...

WP theme not displaying properly in FF.

I've been playing around with themes on a site http://edited The theme is TheProfessional theme from Elegant Themes, I took it right out of the box unchanged, only wordpress plugins installed right now are Akismet and Statcounter, tried disabling, but problem still occurs. The problem is in firefox only as far as I'm aware (works fine i...

htaccess 301 redirect problem wordpress

I'm trying to move one website to wordpress and I want to redirect a few pages to the new address. I've added the following lines in htaccess and the redirection does not work as I want. Instead of opening http://domain.com/category/category1/ it opens http://domain.com/?option=com_content&amp;task=blogcategory&amp;id=13&amp;Itemid=26 wh...

wordpress subpage tag

I'm building a wordpress theme right now and I'm using conditionals in the sidebar to display different information for each page like so: if (is_page('services')) { etc..... } elseif (etc.... However, some of the subpages do not have their own specific conditional. How can I make it so that a conditional for a parent page applies to...

Custom per-page sidebar widgets in Wordpress.. possible?

Let's say I'm doing a site about cars, and in the main content area there are a few paragraphs about a particular car. In the sidebar, are several standard widgets. But I also want a widget with an 'info panel' about the particular car. So what's the sanest way of putting in a per-page widget in Wordpress? I guess ideally the info-pan...

Pretty-printing Wordpress HTML output for development purposes

Is there a simple way (plugin / function) that uses Tidy or some other lib to pretty-print Wordpress's HTML output? It's unreadable as it is and it's almost impossible to write a theme with proper indentation with all the includes / hooks going on all over the place. Performance is not an issue as this only needs to be active for devel...

Get rid of url in WP twentyten theme

In wordpress the default theme in v3.0 is twentyten. I'm trying to remove the url box from the comments form. Looking in comments.php there seems to be no reference to it, as has been in past versions. How do I remove the url box from comments in this theme? ...

Django (wsgi) and Wordpress coexisting in Apache virtualhost

I have a Django project that I need mounted at two different subdirectories of my url, and I need Wordpress running at /. So: *.example.com - WordPress *.example.com/studio - django *.example.com/accounts - django Here's the httpd.conf that I have so far: <VirtualHost *:80> ServerName wildcard.localhost ServerAlias *.localhos...

In need of a Tool/template that posts downloads similar to Wordpress?

I'm not even sure what they call this or these kinds of tools. But I'm in need of a tool that works similar to Wordpress that works like a blog. However, instead of blogging I want to post downloadable content to my website with images and maybe a description of what the download is. Like a blog, newer posts/content show up at the top o...

Wordbook failing to set up in Wordpress

I have the latest version of Wordpress and Wordbook and no other plugins installed. Yet, when I go to set Wordbook up I get the following error: Some other Facebook-related plugin has out-of-date facebook-platform libraries that are interfering with Wordbook (missing methods: profile_setFBML, stream_publish, users_getLoggedInUser, users...

Search Feature for WordPress CMS

Hi, I need to incorporate a "Search" feature within my WordPress CMS site that I am currently developing and was hoping to attach this feature/plugin to the following piece of code and unsure how to do this in WordPress, i.e.: <div id="search_box"> <form method="get" action="/search" id="form"> ...

jQuery addclass to each Wordpress post image

Hello, this is what I have so far: <script> $(document).ready(function(){ $(".entry-content img:first").addClass('postimage'); }); </script> As you can see, for the first image of .entry-content it adds my class. Cool, that works fine. Uncool, it doesn't work for every post but only the first on the page. I'm not sure how to fix ...

why my emails with wp_mail function is known as spam

hi all i use wp_mail function in wordpress to send mail but my email is know as spam in yahoo,.. i use same following code $headers = 'From: myname <[email protected]>' . "\r\n\\"; wp_mail('[email protected]', 'The subject', 'The message',$headers); please give a Suggestion ? thanks ...

Setting a Parent Menu CSS Class from a Child Menu using PHP/WordPress

Hi, I have the following menu setup that basically has a parent menu of "Products" with two child menu items that I am using inside my WordPress 3 menu structure, specifically inside my sidebar.php file: <ul id="themenu" class="sf-menu sf-vertical"> <li><a class="sf-with-ul topm" href="#">Products</a> <li><a href="i...

WordPress admin: show draft pages in page attributes parent page dropdown

For clarity - here is a picture of the box I am talking about in this question: Screenshot of post parent dropdown list Background: I have built a relatively complex WP site for a client which is more of a CMS than a blog and relies on a hierarchy of pages being built. (Well, they're actually custom post types with 'hierarchical' => tru...

Wordpress & Fancybox - Loop issue? - fancybox keeps reloading page

Problem page: www.kendraschaefer.com/mandapop (problem with images in thin middle column) Hi, I'm working on a new Wordpress template, and I've run into an issue with Fancybox. I'm trying to get the pictures in the thin middle column of the page above to, when clicked on, pop up in fancybox with attached post data. It's mostly workin...

Check if oe specific user is online

Hi, is there any way, to check, if one specific user is online in Wp? ...

WordPress loop display 1 post for each author

I have several authors on a blog, and on the home page (index.php) I want to query the posts so that it only shows the latest post from each author. So say I have 5 authors it will show 5 posts each being the most recent for each author. Any ideas on how to do this? I don't want to create separate loops for each author, it has to be aut...

Limit to the amount of posts on Word Press

My friend has a blog that has more than 300k posts on it. The performance of the blog has pretty much crippled his server. Is there a know limit to the posts on WP, or are there any performance optimizations that one can perform? The blog posts are intended for archiving. ...