wordpress

Manually highlight Wordpress admin menu item.

Hi guys, Under Pages menu in Wordpress Admin page, I got this layout: Pages Edit (url: edit-pages.php) Add New (url: page-new.php) Special Pages (url: edit-pages.php?special-pages=true) as you can see, I've added a new submenu item called Special Pages which is pretty much a link to to Edit page with custom filter. Because Word...

PHP parse csv list and insert each record into wordpress users database

I've got an excel file containing a list of records by firstname, lastname, email_address, transaction_id I'd like to create a script that reads in the excel data (can be csv or whatever export is easiest to work with) and inserts each record as a user in my wordpress database with the role of "member". ...

Recommendations, thoughts, tips and tricks, or peanuts on moving from wordpress to django

I've been using wordpress for a few years to run a couple of community based sites. one of them is a blog, while the other is more of an app, and I use wordpress for the admin feature only. I'm thinking of moving to django as I'm familiar with python, I want to play with geodjango and I don't feel an urge or the need to do anything from...

[Wordpress] Change RSS feed

Hi all, I want to display my images into the rss feed. I have the job already done. But i want to create a seperate tag for it. Now the image is included into the HERE THE IMAGE AND CONTENT How to create this seperated? Like: here the image HERE THE CONTENT Some ideas? ...

WordPress Conditional PHP Question

I'm trying to call WordPress's 'the_time' using a conditional statement that checks the category. I want to call the custom field 'event_date' if the category is '3' and 'the_time()' if the category is '4'... This is what I have, and it echoes fine if I use "is_single()" instead of "is_category()" but for some I'm getting no echo when I...

Wordpress or Drupal Users Report Module

Hello Guys I have to build a site that receives some custom report from my users and store them in a database. The users are able to view their reports and the department administrator comments on it. I was creating this myself using PHP although it was good but it's full of security holes and I get lost after a while when my code grows ...

Wordpress Plugin or quick php function for conditional image size

my index.php has a body column width of about 400px The single.php has a column width of about 550px Is there a plugin or quick way to make all images (not just the post_thumbnail) display at full size (i.e., image.jpg) on single.php but use the thumbnail size (i.e., image-350x***.jpg) on index.php? ...

Auto site categories in wp-ecommerce

Im working on getting a auto site up for car parts and was going to use wp-ecommerce under wordpress. Is it any way I would be able to get the categories to narrow down from year > make > model > then show all the stuff for that car? something like what this site has: http://www.stillen.com/vehicle.asp is it anyway I can work the categ...

Call Image to Load Using Galleria Script

I'm using a jQuery gallery script called Galleria, in conjunction with a wordpress theme I'm working on. The problem (as you can see) is that no image loads right off the bat, as it should. Is there any sort of workaround you can think of, to force the image to be loaded into that ? Thanks! ...

how to add image to each category in wordpress?

hi i create the plugin to add image to each category, i want to upload image at time of add category and also in edit category, also in list of category i want to retrieve each category name with image thanks in advance have dream day ...

Weird date and time formating in Wordpress %Y/%m/%d

Whenever someone comments on a post at the blog i am hosting (wordpress 2.9.2) the date of the comment shows as "%Y/%m/%d kl %H:%M". I have tried to fix this, but i cant get the blog to interpret the code and put it out as the real dates and the time. How can i fix this? ...

Serbian characters clipboard problem

Hi, One of my clients needs to post Serbian (cyrillic) text into WordPress weblog by copying it from the MS Word document into WordPress rich text editor. For some reason, all cyrillic characters are converted into their latin equivalents when we paste it into rich editor. The same problem occurs when we try to paste the text into Notepa...

Wordpress: how to make a post template with a fix image placement??

Hi I am building a simple WP theme but now i am stukc. I need to add an image on a fix place for post template A and 2 image on post_template B like so title img date content title img img date content Is it possible to make a template and on the admin side have the corresponding # of upload fields ...

CKEditor "protects" me from inline stylesheets

I'm trying to integrate CKEditor into Wordpress for a client. I'm not too familiar with it, it's the first time I use it. The client wants to use CKEditor on a textarea that gets stored into a custom field and is displayed in the sidebar of a page. I added support for this form of editing by adding meta boxes to the page edit window. I...

Load jquery plugin in a custom wordpress widget

Im trying to make a wordpress widget containing a jquery photo gallery. The widget will only be on a few pages on the site, so I would like to only load the jquery gallery plugin when the widget is actually shown. Any ideas on how to do that? Im thinking I need to throw in a wp_enqueue_script in my widget function somewhere, but where? ...

How can I retrieve a list of a Wordpress page's sibling pages?

I am trying to create a list of sibling pages (not posts) in WordPress to populate a page's sidebar. The code I've written successfully returns a page's parent's title. <?php $parent_title = get_the_title($post->post_parent); echo $parent_title; ?> As I understand it, you need a page's id (rather than title) to retrieve a page's si...

.htaccess & Wordpress: Exclude folder from RewriteRule

I have this .htaccess file in Wordpress. It's located at /public_html/ (web root). I need to exclude a folder (csNewsAd) from the rewrite engine. I've tried this, based from another question similar here at SO, but didn't work at all. AddHandler x-httpd-php5 .php # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / ...

wordpress: how to get x youtube thumbnails of my youtube account ?

Anyone got a function which returns the thumbnails of a youtube account?? ...

Wordpress & Vanity User URLs

Hi All, Was wondering if anyone had any smart approaches to creating dynamic vanity user urls upon user registration. My site basically uses emails as usernames. I have the regex to strip the text before the "@" symbol (e.g. "[email protected]" becomes "name") I would then like to take the "name" and create a vanity url (e.g. domain.com/na...

Wordpress Control Panel

I want to load some custom message in the dashboard area (instead of the post/comment information)of wordpress admin panel.Anybody can help me........please The area which start like; At a Glance 1 Post 1 Comment 1 Page 1 Approved 1 Category 0 Pending 0 Tags 0 Spam Change ThemeTheme Thesis with 0 Widgets You a...