wordpress

Using SVN in Windows (Wordpress plugin-repository)?

Hello I just got approved to Wordpress' plugin-repository. Howvere, they gave me access, but I have no idea about how to use it. Could someone explain me patiently, how can I use this repository to post my plugin? I'm using Windows. Martti laine ...

CSS Positioning Issues: Wordpress

I'm following this tutorial here http://www.kriesi.at/archives/create-a-multilevel-dropdown-menu-with-css-and-improve-it-via-jquery on adding a menu with jquery. I've created my menu, but I'm having trouble adding it to wordpress. I opened up the header.php file since I want it to appear below the banner, and I paste it in it's own div,...

can't access wordpress normally anymore; after login weird page opens

Hi there, I have no idea what's wrong, but I just tried to log into wordpress on my server, but right after I login I get the following page: Index of /cc-common/wp-admin Parent Directory admin-ajax.php admin-footer.php admin-functions.php admin-header.php admin-post.php admin.php async-upload.php categories.php comme...

How to make WordPress "Add/Edit Post" form more Tumblr like?

Hi, WordPress requires you give each blog post at least two fields: a title and text body content. I'm wondering how to modify WordPress admin so I can sometimes enter a single field for a blog post, in particular a URL, without WordPress requiring a title (related but not the point of this question: a custom theme would then know how ...

Replace css file for Topsy wordpress plugin

I'm using Topsy plugin for wordpress, but i wnnat to customize with more option like change background. how can i replace the topsy css file? the css file is loaded after my css and use many !important and replace my customization. tks! ...

Wordpress 403/404 Errors: You don't have permission to access /wp-admin/themes.php on this server

Some background: I setup six blogs this week, all using Wordpress 2.92, installed with Fantastico on a baby croc plan with Hostgator. I used the same theme (heatmap 2.5.4) and plugins for each blog. They were all up and running, no issues at all. I go to create a new blog this morning, using the same setup, and when I try to change t...

wordpress static/post pages

Is it possible to make a wordpress page have posts and static content on it? Like have the latest posts but also have some content from the page on it too? ...

mySQL ORDER BY ASC works, DESC does not...

I've "integrated" SMF into Wordpress by querying the forum for a list of the most recent videos from a specific forum board and displaying them on the Wordpress homepage. However when I add the ORDER BY clause, the query (which I tested on other parts of the same page successfully), breaks. To add to the mix, I am using the Auto Embed ...

Using php variable inside a wordpress page through admin interface

Hi, I have a wordpress page in which i have a form(used machform which redirects & stores data in session) submitting it redirects to another wordpress page. Now i want to use session value in the second page. I am new to wordpress, can i use php tags inside a page through admin interface so that i can retrieve the session value? Pleas...

Wordpress Widget auto activate

Hello! Im new att widgets, but i have manage to write my own widget and get it to display correctly in my theme. The only problem i have now is that i want the widget to "auto activate" in the sidebar. So when the theme is installed on any wordpress installation the widget should be active so the user dosent need to drag it to the sideb...

use wordpress to list author and author email alternatively

I need to list the authors and their emails alternatively. For example: user1 email_of_user1 user2 email_of_user2 Also, the user1, user2 should be links to pages where posts are filtered by author. I can use wp_list_authors() function but I can't figure out how to do the alternate user, email thing. ...

Exclude Category From wp_get_archives?

Is there any way to exclude a category from wp_get_archives? I'm trying to show the months in the sidebar, but I want to exclude the posts that are not blog entries. $catID = get_cat_id('Projects'); $variable = wp_get_archives('type=monthly&show_post_count=1); echo $variable; ...

Allowing Certain User Roles to View Plugin?

How do you allow certain user roles in WP to view a Plugin I am writing? Example would be I want the Administrator and Editor roles to see my plugin, but not Subscribers or Contributors? ...

Is it possible to add .NET code (sections) to a WordPress site?

Our shop is primarily .NET but because of the lack of any really good popular .NET CMS products, we have chosen to use WordPress (and Drupal at times) for our public facing sites. I realize this is highly subjective, but it is the conclusion we came to for our purposes. One could certainly make a case for DotNetNuke and others, but tha...

How can i have custom fields on the posts page in wordpress?

First I've created a home.php page to replace index.php and can add some custom fields on this new one and to have in it lastest 3 posts. On home.php page I put: <?php echo get_post_meta($post->ID, 'test', true); ?>"/> but it doesn't works cause it tries get the post id and not the id of the page. If i put 18 (id of the page) directl...

getting rid of filesort on WordPress MySQL query

An instance of WordPress that I manage goes down about once a day due to this monster MySQL query taking far too long: SELECT SQL_CALC_FOUND_ROWS distinct wp_posts.* FROM wp_posts LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) LEFT JOIN wp_term_taxonomy ON wp_term_taxonomy.term_taxonomy_id = wp_term...

how to generate unique title like wordpress?

hye im maya, i need to generate unique title like wordpress. if title hello-world is exist,the next title will be hello-world-2 thanks ...

WordPress - How to get posts in a category but exclude those under sub categories?

Assuming the category is A, there are a sub category of it say subA which includes a post postinsubA Then when i use get_posts('category=A&...'), all posts under category A also postinsubA are returned, but i don't wanna postinsubA, how can i exclude these posts in sub categories? ...

[WordPress] Get Comment Reply Link Only?

I'm using comment_reply_link, for the reply links on every comment, but I want to use an image instead of text. I only need the link of the comment reply, not the whole thing. Codex wasn't helpful, neither the WP forums. <span class="reply"> <a href="<?php //comment reply link here ?>"> <img src="<?php bloginfo('template_url') ?>/...

Elmah on MVC website with WordPress/php sub directory

I have created a website using ASP.NET MVC and use ELMAH for error handling, this works perfectly. After setting up a virtual directory on my website under /blog and adding the necessary WordPress php files and mysql db, I get the below error come up. Could not load file or assembly 'Elmah' or one of its dependencies. The system cannot ...