Hi all,
Wordpress is acting crazy when posting comments, showing a "500 Internal Server Error" every time a comment is submitted trough the comment form.
The comment is inserted successfully but you get the error screen, this does not happen when submitting an empty form, then you get the error page from wordpress stating that you have...
How to create a simple Wordpress function in functions.php
I want to make a function something like custom_header() and the code in the function is
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attrib...
Hello,
Does anyone know which file I can find the definition of add_post_meta function in wordpress 3.0?
Thanks!
...
We were having some issues with inline javascript, so we decided it would be wise to modify the add-filters file by commenting out the line associated with wpautop and the_content. After uncommenting the line, it seems that some of the pages don't want to revert to having paragraphs (generally the index pages). Any ideas as to how this...
Hi all,
Is it possible to use plugins on my blog for WordPress.com? There are some very nice tutorials on how to do this if I have WordPress installed on my own server, but I am using wordpress.com.
Does anyone know if they allow this? It seems like the expected "Plugin" category on my dashboard is missing.
Many thanks,
brett
...
For example I have a live WP site http://wpsite.com
I wanted to make a live mirror copy of http://wpsite.com at http://wpsite.com/test/
so i copied all data of public_html/ folder to public_html/test/
then i checked http://wpsite.com/test/ but everything is going to http://wpsite.com/
is there any .htaccess problem?
This is .htacces...
Each time I try to filter a Post in Wordpress, it sends me to the login screen with a long string for the URL:
../wp-login.php?redirect_to=http%3A%2F%2F192.168.0.128%2Fblog%2F%2F%2Fwp-admin%2Fedit.php%3Fs%26mode%3Dlist%26action%3D-1%26m%3D0%26cat%3D0%26action2%3D-1
The site is set up on a Virtual server IIS server, with LAMP underneath...
Hi all,
I'm trying to link posts in wordpress. Let me elaborate. In wordpress, you can set how many posts you want to show on a page. If, for example, you set that number to 1, and you have 10 posts, then you'll have 10 pages.
I have the following code that WORKS on the index.php (main posts page). It shows a link to older posts. Below...
Hi
I am using the 'twitter for wordpress' plugin to display the last tweet in wordpress. it works fine but needs the username for the twitter account harcoded into the line of code:
<?php
twitter_messages('myaccount', 1, false, false, false, true, true, false);
?>
What im trying to do is replace 'myaccount' with a variable ...
I was wondering if Wordpress 3.0 will allow me separate instances of the same theme to customize to my liking? Then I could use these two themes in two separate blogs in that same multiuser Wordpress 3.0 instance? Is this possible?
Like could I completely customize the TwentyTen theme and then install another TwentyTen theme under a dif...
Hi,
I created a custom page template to display a filterable portfolio in Wordpress.
However, on that custom page I am getting an error code -
// <![CDATA[ (function() { document.write('<script charset="utf-8" type="text/javascript" src="http://thinquetanque.disqus.com/get_num_replies_from_wpid.js?v=2.2&amp;t=span&amp;wpid0=14&...
Which plugin to use?
I use wordpress as a CMS and was wondering which plugin I could use make 1 page with dynamic content for different selected country/per domain/URL?
(I would like to have many versions of the same site where, some pages have common page content while other pages have different page content)
...
I want to paginate comments section of my wordpress blog using ajax. How would i do that. I want to use ajax because if i use other paginate plug-in's the whole page will be refreshed which is not what i needed
Anyone with an idea ?
Thanks and Regards
...
ahoy,
i'm running wordpress 3x on nginx and all my ajax calls are broken. the exactly same wordpress runs fine on Apache.
i've fixed somehow an ajax call to work with nginx by removing 'index.php' from all jquery.post() calls, but i couldn't fix the other calls in the same way.
basically the changes were:
for nginx the line:
jQuery.p...
My site is redirecting to some malware induced site and after looking into my SQL database, I can see this js code in every single one of posts - (Chrome throws a warning if you try and open this url) . It seems like I am not the only one http://wordpress.org/support/topic/was-my-site-just-hacked-found-random-script-in-all-pagesposts Ki...
I'm new to the Wordpress plugin and widget APIs, but I'm sure this is possible.
I'd like to make a plugin or widget that would create links to other posts or external sites based on certain keywords/tags in the content of the given page/post.
Is this possible?
For example, if a term is in all-caps, link to the Wiktionary definition; i...
Hi all,
I customised my theme where the index.php works as a "page". But with <body <?php body_class(); ?>> it's create the class "blog", which I don't want to. I want to change the class name to "index" or "home. How can I do this?
Thanks.
...
I've got a script in my functions.php file that checks for the existence of several categories that are required by my theme, and if they are not present, it creates them...
if(!get_cat_ID('my-category')){wp_create_category('my-category');}
I need to modify this script in two ways...
First, I need to create the category so that its p...
Hi everyone,
I'm trying to redirect visitors of my blog to either the french or the english version.
So I made this .htaccess :
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
#---------------------
# Language Redirection
#---------------------
# Checking if the redirection didn't occur yet
# Checking that the url doesn't begin...
I have a specific bit of setup code for my theme that I only want to process when the theme is first activated. I was under the impression that I could use register_activation_hook for this, but it does not appear to be working.
Example...
In my functions.php file, I want the doThemeSetup() function to run only upon theme activation an...