wordpress

popular python open source cms like drupal?

i wonder if there is open source cms coded in python that is as big as drupal (joomla or wordpress)? thanks ...

wp_update_user crashes my plugin for wordpress

I am trying to write a plugin which will update a user field. I can use the update user meta function OK, but when I try the wp_update_user it doesnt work. wp_update_user($user_ID, 'user_nicename', 'test'); That crashes the plugin. Do I need to include something for this function to work?? ...

wordpress user roles : contributer can not delete his/here post item

Contributor can not delete/change his/her posted item after it has been published on wordpress blog. How can I do this? Ps: my purpose (read this to see the big picture) ...

WordPress create profile pages for users

Is there a way to create a profile page for every user that is registered on my WordPress site? I need a feature that allows each registered user to fill in his profile - name, address, email, add photos. Then this data is populated to a user's profile page using a template so when anyone goes to, e.g. mysite.com/users/johndoe, he sees t...

How to work with WordPress

How to work with WordPress ...

Getting recent blog posts from wordpress

I have installed wordpress on my site located at www.example.com/blog. on www.example.com I'd like to retrieve the top 5 latest blog posts and display date, url and blog title. Is this possible? This means I want to get the blog posts from outside the wordpress installation using php and do a loop. ...

Wordpress rewrite image path

I've got a website that is running WordPress. It has several pictures that I am retrieving from a datafeed. The images from the datafeed are at locations like: http://image4.example.com/640/examples/example.jpg http://image4.example.com/640/example.jpg The image4 and 640 locations can change. I want to rewrite the images to where th...

wordpress filters documentation? Trying to understand add_filter()

I read over the documentation several times and have been having a hard time trying to figure out what is going on with the function. I'm more and more confused after looking at the documentation, looking over the source code as well. add_filter($tag, $hook, $priority, $args); it seems to me the new function extends the parent functio...

Wordpress: Issues trying to display all comments in one page

Hi, I'm trying to modify my wordpress theme (inove) to display all comments in the same page instead of 50 comments per page. I opened the comments.php file, commented out calls to paginate_comments_links() and and set the wp_list_comments() as follows: wp_list_comments('type=comment&callback=custom_comments&per_page=100&page=1'); T...

WordPress 2.9.2 VS WordPress 3.0 Release Candidate

I'm going to do a new install of Wordpress. new 3.0 version is coming. current stable version is "WordPress 2.9.2" and "WordPress 3.0 Release Candidate" the last release before final version 3. So for now i should setup 2.9.2 or 3.0 Release Candidate? will i have to replace all files to RC upon final release? What are cons to use Rel...

Orphan Char appearing when using Sifr3 in Navigation (Wordpress)

Hi there, I am having an issue implementing Sifr3 on this particular site and it's driving me nuts. Hoping someone will be able to help me: http://client.missmonkee.com/agency-mobile LOGIN: client-login cl1entpassw0rd Here at the top right you can see the navigation to the site, in FF3 Win 7 / FF & Safari MAC some menu items show 1 ...

Filtering custom fields on wordpress admin page

I'm currently working on a wordpress 2.9.2 plugin (my first) that creates additional custom fields that will later be read from the template. The plugin adds an additional meta box to the "Edit Post" screen which is responsible for manipulating these values. My problem is that the custom fields generated by the plugin also show up in t...

Add php element to custom page in Wordpress

I'm trying to customize a wordpress page to include an iframe which give the users a link to there download. We're using wordpress 2.9.2 with the Thesis theme 1.51. I've been trying to use thesis hooks but appears that the php is stripped from the output. Help? Suggested alternatives? Code from custom_functions.php: function add_ej...

Display archive posts in Wordpress

I am looking to display archives pages as a normal posts page... So, a posts page with a secondary navigation showing: LATEST POSTS / LAST MONTH / LAST YEAR / OLDER On each of those pages, I would like to display a summary of each post just like the standard latest news page. When you click through you get to the full post. For ea...

Set two classes from array

I want to change the classes on every third output from a query: <?php $style_classes = array('box','box','box no_right_margin'); $style_index = 0; ?> I set this on the div: <div <?php $k = $style_index%4; echo "class=$style_classes[$k]"; $style_index++; ?>> On the third div I want the class to look like this: <div class="box ...

Wordpress Login & Registeration System Like http://www.damnlag.com/

I came across http://www.damnlag.com/ yesterday and I have no idea how they have managed to build that kind of user sign up system using wordpress. how have they integrated the login form in the main website and how have they changed the look and fields of the registration form. Is it some plugin i'm not aware of? or have they messed ar...

getting posts from other site network in wordpress 3.0

hello, i have set up the new wordpress 3.0 with multisite network capabilities. What i want to do is get and show blogs from other network site in the main blog. Like if i have set up the blog at example.com and i have other network sites at articles.example.com, movies.example.com. I want to get the posts from the articles.example.com a...

CSS Selector Issue

Hello html > body .home blog logged-in > div #wrapper > div #page > div .cats I have a problem with selecting unordered lists (i.e ul > li.class-name class-name-number) at the above dom location in CSS. I am working with a wordpress theme. Basically could I have suggestions for the correct selector to use in order to influence this t...

How to attach multiple files to a Wordpress post?

I'm currently working on a project where we are using Wordpress 3.0 RC. The idea is to create custom post types with meta boxes to make the system easier to use for the client. Some of these posts need to have multiple files attached to them, and by attached I do not mean inserted to post but rather we'd like to keep them separate from t...

Is there a way of having Wordpress render `the_category()` items as an (x)html list?

I'm using the following to render the_tags() in Wordpress 2.9.2, currently developing a theme on localhost: <?php the_tags('<ul class="postmetadata"><li>','</li><li>','</li></ul>'); ?> and would like to have same -near-semantic- output from the_category(), which doesn't seem obviously attainable (having looked at the relevant codex pa...