I'd like to install wordpress in another directory to the actual DocumentRoot so that I can keep it under version control but at the same time customise my wordpress site.
So I have a directory layout something like this
branches/
tags/
trunk/
index.php
wp-content/ < this is where I will have my customisations
vendors/
wordpress/...
Hi,
I'm new to WordPress theming and have downloaded the Starker's WP theme from starkers
My question is, as this is an updated theme based on new twentyten for WordPress 3.0, do I need all the code in the functions.php file as it all seems to make reference to default twentyten theme?
I'm am doing a CMS and was wondering if there is ...
Hi guys this looks doable but I cant quite figure it out. I have a lists of pages in wordpress
Page1
Page2
Page3
Page4
when you are on a page need to display it's children but only it's children and not the children of the other pages (which all have children)
Page1
Page2
-child1
-child2
-child3
--grandchild1
...
This is my first time playing with filters, so forgive me if this seems basic. I have done quiet a bit of googling and can't find anything related to my problem, from everything I have been able to find this should be working without an issue. It's my understanding that filters added manually run concurrent with any other filters wordp...
My Wordpress 3 multiuser has been enabled, but I don't know how to rewrite the following .htaccess rules for nginx:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-...
I made a custom page that is based off archives that shows the post excerpt then a button which on click slides down to show whole post. It works great but I try to include the comments template in there and then jQuery breaks, wont slide. If I firebug in and remove the display:none then it shows and everything, even comments, are in th...
Hello,
I'm very new to coding (having only taken Web Development 101 at university aka 'OMG CSS u guise'), and I'm just beginning to realize that knowing HTML/CSS alone isn't good enough. I've decided that it would be best for me to learn the hell out of one CMS, because I'm not keen on learning a full programming language. Mainly I jus...
This theme I found seems to be using jQuery UI tabs but they're not working...
header.php has:
<link type="text/css" href="<?php bloginfo('template_url'); ?>/css/ui-lightness/jquery-ui-1.8.4.custom.css" rel="stylesheet" />
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery-ui-1.8.4.custom.min.js"></scrip...
Hi,
Within my website that I am converting over into a WordPress CMS theme, there are 7 menu options that go to individual html pages.
My question is, what is the best way to get these 7 html pages into my WordPress CMS theme, i.e. is there a backend means or do I directly add these individual pages as the WordPress Admin?
I've curren...
I found this article:
http://www.deluxeblogtips.com/2010/05/editor-style-wordpress-30.html
I created a child theme using the Twentyten theme as a parent. I am trying to have the WYSIWYG editor use a custom stylesheet.
I added this to my functions.php file:
add_editor_style();
Then I created an editor-style.css file in my child them...
For my blog, I want to incorporate my own commenting system without relying on the default wordpress commenting system. I need the comments module to utilize mongodb instead of mysql and the module needs support for the following:
Threaded comments
Comment Voting
The votes on comments need to be aggregated per each comment author f...
Hi
I cannot upload the .webm video format on Wordpress.
This is after adding:
AddType video/webm .webm
into both:
my .htaccess file (on the root folder of the wordpress installation)
the mime type handler of our apache server (via our site cpanel)
As far as i remember, at first this message instantly gave me the error, it would even b...
Hello. I run my own webserver for development and I installed a Wordpress blog but when I try to add plugins from admin it asks for FTP access. I don't use FTP and don't want to use and I know I can change some permissions for Wordpress to be able to upload without FTP. What do I need to configure for this ?
Thank you.
...
Hello Experts,
I have theme which shows some default theme in it.The themes name is Flow Hub.In first page and all of the other pages I have a default image there.But my requirement is to replace that default image in there,with the image which I am inserting with the Post.
It could be thumbnail or any of the size.
Please suggest how to ...
Hi,
I am using jQuery Superfish Menu inside my WordPress theme, where I have the following setup inside my sidebar.php file:
<div id="sidebar">
<ul id="themenu" class="sf-menu sf-vertical">
<li><a href="index.html" class="topm currentMenu nosub">Home</a></li>
<li><a href="about-us.html" class="...
Hello everyone,
I'm creating a meta box for my custom post type. There are multiple fields where I would like to use wysiwyg editor rather than <textarea>. Is is possible to add multiple editors to a meta box?
I would really appreciate your help!
Many thanks.
Dasha
...
Hey there,
Lets say i have a blog with 10 posts.
I want to display 20 posts on my frontpage.
How can i make the wordpress loop repeat itself till it reaches 20?
if ( have_posts() ) : while ( have_posts() ) : the_post();
endwhile;
endif;
Btw... i do not want two loops... easy answer would be to have 2 loops, each with 10 posts, making...
i'm starting a new project. And what to know how to write a good testunits in existing framework such as wordpress ?
is it possible to use phpunits or selenium RC ?
...
Hi-
I am somewhat new to both Wordpress and PHP, and I wanted to get advice on the best way to tackle my problem as I have had little luck doing it successfully so far.
There are two jobs I want to handle:
First of all, I want to have a conditional include on my home page that does the following;
Find a custom post type home_content ...
I am using a custom post type in my wordpress theme, and I need help with the loop. Here is my code:
<?php $loop = new WP_Query( array( 'post_type' => 'magazine', 'posts_per_page' => 10 ) ); ?>
<?php while ( $loop->have_posts() ) : $loop->the_post(); ?>
<li>
<?php the_post_thumbnail( 'magazine' ); ?>
...