wordpress

Read Images from a Directory using PHP

Hi, Is this possible with PHP inside WordPress. Basically if I have a directory in my site called "promos" that consists of 1 to many images (as these images can change), that I would like to read from within a PHP file into a carousel setup, i.e. something similar to this: <div class="scrollable" id="browsable"> <div class...

WordPress: is_category fuction for custom taxonomie's terms

Hi there, I'm trying to find a conditional tag for recognizing the opened term of custom taxonomy. Let's say I have a taxonomy "map" and I'm browsing the taxonomy's term called 'USA' with ID 50. Is there something like deprecated is_term? Like: <?php if(is_term(50, 'map')) : ?> ... <?php endif; ?> Thanks a lot... ...

Wordpress, List Authors and Exclude Admin

Hello all, I am trying to loop through authors in my wordpress blog but something weird keeps happening, probably because I haven't fully grasped how to use the functions. When I do this: $authors = $wpdb->get_results('SELECT DISTINCT post_author FROM '.$wpdb->posts); if($authors): foreach($authors as $author): if(the_author_meta('disp...

Is there a template hiearachy in Wordpress similar to Django?

I'm a veteran Django programmer and a newbie in WordPress. In Django, we have the concept of templating such that I can create File1 which contains some html blocks that can be overriden by child File2. We are using {block block1} syntax in Django. This makes re-use in django very easy. In PHP (WordPress) do we have the same concept? I w...

In WordPress 3.0.1, my categories box is not showing up in the post edit screen?

I'm setting up WordPress for a client. It's version 3.0.1. As I'm setting things up, it seems now that the category box (where you select the category you want the post to go into) doesn't show up in the post edit page? It was most definitely there before, but now it is not. I'm not sure what's happened? I even reinstalled the whole th...

how to customize wordpress internal functions, like adjacent_post_link()

Hey Folks, I need to customize the previous_post_link() and next_post_link() on WordPress. Per example, I want to shrink permalinks like "Top 5 programming languages that you need to learn" to "Top 5 programing...". The function responsible for creating the link isadjacent_post_link() located at wp-includes/link-template.php ...

The cost/benefit of learning multiple content management systems

I'm a PHP developer who uses drupal whenever the job looks like it could benefit from a CMS. I was having a discussion with a colleague who said that it helps him a lot with clients that he knows multiple content management systems. To me, this sounds like dividing one's efforts, and I'm not sure if it's worth it to invest the time learn...

Do most clients know what a CMS is?

I currently work in an agency and have been considering trying to branch out on my own. In my current setup, whenever I interact with a client, it's at the later stage after they've hired us and after someone from sales did all the front work with them. I suspect it's very different for developers who deal with clients directly. My que...

How can I filter child categories of "uncategorized" out of the loop?

I have some utility categories that are only used by my theme. How can I make sure that any call to categories excludes the child categories under "uncategorized"? ...

Seeking opinions on the best CMS platform for designers and front end developers

I have so far been a dedicated Wordpress user, but have been researching other CMS solutions of late, specifically, looking for something that could potentially allow me to EASILY convert an XHTML site into a CMS site for most projects. I don't care for PHP - and find adding the appropriate tags to Wordpress a bit of a challenge. I am b...

Wordpress Specific Author's Comments Feed URL

Hello all, I know that, there's feed url for specific author at wordpress which is http://example.com/author/authorname/feed/ And there's feed url for the latest comment which is http://example.com/comments/feed/ But I want to get is The comment feeds for specific author. Is there anything am i missing ? Please help me to solve i...

Can I hide broken images?

Hi guys, I am trying to create a sidebar for which I can specify the image in the back-end of my wordpress cms using custom fields, now I have gotten it to work, with just one little bug, if the user enters a invalid URL, the image link will display as broken and will not display, is there a way that I can hide the broken image icon perh...

cForms Plugin Post-Processing

I have a cForms II contact form set up. It works perfectly if I just want the results emailed to myself (default behavior). I now have a custom PHP file that will take the POST data from the form and submit it to an external database for me. However, when I set the Alternative Form Action page to this PHP page, clicking the Submit butto...

Parse XML data into WordPress MySQL database as custom fields

I have an XML job feed which I would like to integrate with my website which is running on a WordPress platform. I have a good understanding of WordPress and am familiar with it's database schema. The XML job feed is delivered automatically via FTP to my websites server via a zipped archive file which contains an XML file with the data...

how display more lines in wordpress-the_excerpt()

Hai, I am designing a blog in wordpress. I am facing problem when I display the topic through the_excerpt().It only display 3 lines and then Continue Link comes.But I want each post will come with 6-10 line and the continue-> link.how I can increase the line numbers. ...

Export WordPress Nav Menus

I have a WP 3.0 site running locally that has an epic menu of about 100 items, I need to export it so I can use it on the live site. But from what I can tell the Export function in WordPress doesn't back up your menus. How can I do it? ...

Dynamic shortcodes and functions in WordPress

I am having a bit of an issue with autogenerating shortcodes, based on database entries. I am able to get a normal shortcode working i.e: function route_sc5() { return "<div>Route 5</div>"; } add_shortcode('route 5','route_sc'); and the following shortcode to activate it would be [route 5] This works. But what I need...

Adding an archive of posts to the navigation menu in WordPress 3

Hay all, I'm playing around with WordPress3 and 2 of the new features, custom post types and the menu creator. I've started off by creating a new post type called "products", as you've guessed, this list products. I'm using the bog standard template and I'm creating a new menu to replace the top navi. As far as i can see i can only ad...

How to merge code changes using subclipse?

Hi, I'm using svn for the first time, to maintain a custom version of Wordpress. I'm using the subclipse plugin in eclipse. The time has come to merge the changes in the latest release of Wordpress with my customised code base. I have tried creating a branch and adding the new Wordpress release there, then performing a merge. No changes ...

When I run code to post blog i get error: Proxy Authentication required

i am writing code in vb to post blog to wordpress. here is the code Imports CookComputing.XmlRpc Public Structure blogInfo Public title As String Public description As String End Structure Public Class Form1 Public Interface IgetCatList <CookComputing.XmlRpc.XmlRpcMethod("metaWeblog.newPost")> _ Function...