wordpress

Managing Multiple Wordpress Sites

Not sure if this is the right place to ask, sorry if its not. I build a lot of Wordpress sites. My problem is, the number of them is getting big and harder to update them all when new releases come out. I have written an app that will download the latest Wordpress release, and manually ftp the new files to all the clients, but this take...

What's a good Wordpress extension for coloring C/C++/script code?

My research group uses a Wordpress blog. Frequently I want post snippets or even entire short programs I've been working on to it, with most of my code being written in C/C++ or scripting languages (Bash, TCL, etc). I figure that there have to be some good extensions to Wordpress to colorify code since so many people use it. I'm loo...

Problem when I try to move my WordPress blog to a new server

I'm trying to move my WordPress to a new server and domain. I downloaded the whole file on old server to my computer and then uploaded it to the new server. I exported all tables in the database and imported them to the new database server. I edited wp-config.php by setting the new value in it. I changed some columns in the new databas...

How to use two Wordpress templates at once... or something similar?

I'm building a wordpress template with a lot of javascript, so I am also setting up a fallback version what requires different php in the index file of the template, and preferably, different header files. The best way to do a fallback seems to be setting a javascript redirect on the "non-javascript site" to go to the "javascript versio...

WordPress Fatal Error: call to undefined function.

Hey All, I'm a bit new to the WordPress game, and was trying to set up my server with WordPress. I was running through the installation, and just entered the host, db name, and pass, and hit go, when I see this: Fatal error: Call to undefined function is_admin() in /var/www/WordPress/wp-admin/includes/comment.php on line 162 I've got...

How can I insert a custom field and the fields value via mysql

Hello guys, Alright here is the problem... we have posts that are missing a custom field. We just recently received the values for that field. Is there a way via phpmyadmin to insert in to the table post_meta a custom field named "translation" and then the value for each post already published? I am trying to avoid having to go back t...

How to retrieve posts that have thumbnail set?

Anyone can help me with this one? I've set my posts to have thumbnails. Is there any way to retrieve only posts with thumbnails? Thanks. ...

Activated a new WP theme, getting this error: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}'

I am seeing this error in a file called functions.php: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' I just installed a new theme in wordpress, I don't know much php. Is this something I can fix easily? ...

Manually activating a theme in wordpress, site is not reachable

My wordpress site is not reachable, how can I manually activate a theme? (the current theme has a bug in it, I want to revert to the other theme) ...

Display wordpress comments before the plugins?

Hi, I want to display the wp comments right after the post, but before the plugins content. What I have tried so far: in single-products.php file, the original code is: <?php the_content(); ?> <?php wp_link_pages(array('before' => '<p><strong>'.__('Pages','eStore').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> ...

Problem with parsing xml file using php. Url address doesn't contain .xml extension.

Hey guys. I'm trying to parse xml file in order to extract some data from it and display it on the website. However, when I'm using url which doesn't end with .xml extension I can't run a foreach loop on the result. In other words when I'm using this kind of url: $url = http://www.example.com/some_xml_file.xml I can run a a foreach lo...

How to create feedburner feed for sub-folder?

I have a website http://www.bccfalna.com/ where I will talk about computer technology. I have settled up this site with WordPress CMS. I have installed two other WP blogs on the same domain in sub-folders. The first sub-folder is related to Question-Answer theme at www.bccfalna.com/question-answer/ where any user can place a Question a...

extend optimized minitabs (Jquery)

I'm using wordpress as cms and mystique theme for my site and use it's tab feature in my code but this tab code is not able to get active tab by url (ex: http://www.animcentral.com/anime/death-note#section-forums it should activate first tab from left but it doesn't) I wanna Extend this javascript to be able to active selected tab by url...

WordPress Menu Walker

How can I add some class to the first and the last item in the menu? ...

Question regarding register_deactivation_hook in Wordpress

Following some examples, I have a function that gets triggered on the 'register_deactivation_hook'. This functions drops the DB created on activation. My question is: Is it good practice to DROP the table on de-activation? I might want to de-activate it to test something and it would be annoying to loose all my data in that table. ...

Expertise required to create a wordpress plugin?

I was wondering how extensive your knowledge of php should be to write a decent wordpress plugin? Can you create a wordpress plugin with just basic knowledge and little experience with the language? thanks. ...

Custom searches in WordPress

I need to create multiple search fields that each search different content in WordPress. I know about Search Everything, which is helpful with specifying what is searched, but doesn't allow multiple, unique instances with their own search parameters. Any help is appreciated! ...

Wordpress Custom Taxonomy URL Hierarchy

Hi, I've got a custom taxonomy that is set to Hierarchical = true. However, when I try to access them hierarchically in the URL, it doesn't work. i.e. | Training (Taxonomy Name) | - test-taxonomy | - - another-test-taxonomy My expected URL would be mysite.com/training/test-taxonomy/another-test-taxonomy/. That gives a Page Not Found...

Wordpress Plugin to group subscribers

Hi guys, do you know a Wordpress plugin that provides the ability to group subscribers. It would be nice if there was a page for each group where a photo and some information can be inserted. The final website will be for a basketball club. So I need the groups as the teams. I haven't found anything so far. Thanks in advance ...

Parse CFML tags in PHP

Background: I have been running a site on the blogger platform for the past 5 years. I was using the option of hosting the site on my own server, publishing via FTP. My server is running ColdFusion, so I decided to take advantage of that. I created Coldfusion custom tags that provided additional functionality and included those in ma...