Often times, when I try to add my own custom PHP source codes to the template files (sidebar.php, index.php, header.php, etc...), it generates errors. However, it works properly on it's own outside of Wordpress. Is there a way for me to use my custom PHP stuff in Wordpress' template files?
...
I'm currently using Wordpress as a blogging platform but I want to change to use Jekyll to generate the static pages. On Wordpress my URLs use the following format:
/year/month/day/title
but I want to redirect that to
/year/month/day/title.html
and I can't figure out how to do that using mod_rewrite.
Anyone got any ideas?
...
Hello,
I have a WordPress installation. I would like to have one folder in the file structure where the url will show you the files and folders and allow you to browse and download from there.
Can it be done?
Seth
...
I am trying to pull in a styled sidebar specific to the category. I have the following code which works, but it is pulling in BOTH my new sidebar and the default. What am I doing wrong here?
From category.php
<?php get_sidebar();
if ( in_category('39') ) {
include(TEMPLATEPATH . '/sidebar2.php');
} else {
include(TEMPLATEPATH . '/side...
Hey all
Here I go again,
Anyone know if there's a Wordpress "lightbox" style plugin that works with mobile devices , specifically the iPhone -- or if theres a way to tweek one to be used ?
I've tried Slimbox2 Shadowbox JS and a few others -- but they all seem to break on the iphone -- specifically when the browser is re-sized.
It'...
I'm wanting to post live jQuery examples in my Wordpress posts, and so need to be able to include working code in the actual post itself. I've turned off the WYSIWYG editor and any settings which may mess up my code when I publish. I've also, through the exec-php plugin, been able to get php code working in-post, but this (admittedly old...
I need to integrate a Django system with a Wordpress site, as in wordpress users should be able to log in the DJnago part and vice versa,
For this I need to understand how the password hashing works in Wordpress. I can see the wp_users table which stores the username and password hashes.
Looking through the wordpress code, I can see th...
In wordpress, what column stores the slug (either auto generated, or user entered)?
I can not find this in either wp_posts or wp_postmeta. The wp_posts GUID stores a direct link, but not the slug.
...
Here is my navbar in header.php
<!-- NAV -->
<div id="nav">
<ul>
<li><a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/navbar/home.png" alt="Ad image" /></a></li>
<li><a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ...
I'm helping someone with a Wordpress blog which at one time was at
http://example.com/example/
Now they've move the blog to the root of the site and want to redirect any of the old links to the correct site.
Wordpress has it's own re-write rules in .htaccess already:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCon...
I am moving a Wordpress blog to a new server and have the database in place and the files in place but I am getting an error:
Cannot modify header information - headers already sent by (output started at /home/nasepa/public_html/2009/blog/wp-config.php:1) in /home/nasepa/public_html/2009/blog/wp-includes/pluggable.php on line 850
W...
I moved a Wordpress blog from one server to another. I was able to import the database through PHPmyAdmin and the files are all in place but instead of the expected home page I am getting the following at the end of the URL:
wp-admin/install.php
Edit: my apologies. I imported the wrong database. Need to close out the posting.
...
is it possible to add wordpress theme in drupal? i'm new to drupal and i want to have a blog of mine,
i'm doing it as a free and can't buy wordpress theme, so can i do everything in drupal as wordpress?
...
Hi,
I have a blog and all posts (i.e. this post) have videos in hidden div.
I want to display this videos in my [RSS feed.] But not regular blog view.4
By the way i'm using Wordpress.
How i can do it?
Thanks.
...
I have twitter status updates showing on the sidebar of the blog which often has the bit.ly or ow.ly links as well. But everytime I click on it in the firefox browser it gives me a 404 error because it tries for the following url: www.domain.com/blog/"http://bit.ly/uniquenumber" instead of bit.ly/uniquenumber.
I just checked it and it ...
What is the best yet simple CMS for closed-source programming project hosting? I'd like to keep webpage plain and simple, include screenshot, basic features and blog headlines on main page, then have project blog, screenshots gallery, feature list and downloads on separate pages.
My goal is somethong between http://www.videolan.org/vlc/...
Is there a way to create a sort of authentication for wordpress which would block unauthorized users from some particular pages and posts but would allow any user to view some pages. I would also like the users of the blog to be able to register and login through facebook-connect, or google accounts. Is this possible.
...
I'm using categories to construct my portfolio in this way:
Portfolio
Web
Animation
Print
Portfolio has an ID of 4, Web is 23, Animation is 27, and Print 31.
I have my URL's set /%category%/%postname%/ in the Permalinks, but when I add a post to say both Portfolio and Animation it won't show the /animation/ in the URL because Port...
Working on a wordpress administration form. I need it to go to options.php to update the database options there, but I also need to populate Resource objects within other functions as well. How would I go about doing both actions on the same submit button?
<form name=adminForm method="post" action="options.php" onsubmit="UpdateResources...
In Wordpress, I have set the permalink structure like this: /%category%/%postname%
After creating a custom search page, I now have the following URL:
http://mypage.com/search?foo1=bar&foo2=&foo3=&foo4=
I have two questions:
1) How can I transform this url so that I get to e.g. http://mypage.com/search/foo1/bar ?
2) Is the...