wordpress

Wordpress : template tags get_page()

not sure if this is programming enough or if it should go to superuser, which is not programming AT ALL. I leave it to the mod to decide. I created a menu using get_pages() and specifying the parent id. This parent id has children and sub-children and sub-subchildren. I need each of these (sub)children to have the parent id displayed, a...

Getting WP Functions to Return rather than Printing Immediately

I'm trying to build an array within "The Loop" of values provided from various functions like the_title(), the_excerpt(), the_permalink() and others. I'd like to do something similar to what follows. The unfortunate thing is that most of these functions immediately print their results rather than returning them. Furthermore, I have check...

Convert Wordpress.com Hosted Blog to BlogEngine.NET

I'm looking at what is needed to move from wordpress.com to a BlogEngine.NET or similar blog. I've seen a tool for replacing export.php so that it will export your wordpress site in BlogML format so it can easily be imported into BlogEngine.NET, however I'd really not want to have to setup php/wordpress just so I can import a back up fro...

Global Variables in a WordPress Plugin

I am trying to create my first WordPress plugin. Even in trying to create the install function, things are being a pain. I want to set some global variables specific to my plugin rather than putting the literal values throughout the various functions. However, my install function does not pick up these global variables. Here is my code s...

which editor is used in wordpress?

Hi guys, Which editor is used in wordpress? I need one editor something like wordpress used. Please give me some good editors. ...

How to get last inserted row ID from wordpress database?

My wordpress plugin has a table with a AUTO_INCREMENT primary key field called ID. When a new row is inserted into the table, I'd like to get the ID value of the insertion. The feature is to using AJAX to post data to server to insert into DB. The new row ID is returned in the AJAX response to update client status. It is possible that ...

Wordpress, get ID's of multiple categories from the URL

Hi. I'm using WordPress 2.8.4. My question is, if I'm viewing a sub category ("cat-slug-2" in this example) is there a built in function to get it's categoryID and its parents' categoryID? Here's an example URL, where cat-slug-2 is a sub category of cat-slug-1 http://www.foo.com/category/cat-slug-1/cat-slug-2/ Thanks, Jon ...

Mixing Python web platforms PHP, e.g. - Mediawiki, Wordpress, etc.

Is anyone developing application integrated with Mediawiki - using Django or other Python web development platforms using mod_wsgi? Would be very interested to find out what has been done in this direction and maybe there is some code available for re-use. (I've started creating wiki extensions working with MW database in python whose ...

plugin_action_links not working in WordPress 2.8+

I developed a plugin with Settings link that was working fine in WordPress 2.7. Version 2.8 brings some additional security features that cause Settings link displaying message: You do not have sufficient permissions to access this page. This is the API hook I use to create link: function folksr_plugin_action($links, $file) { if (s...

show last 5 posts that have <!--more-->

I want to show last 5 posts in a wordpress page, but when i use this code it will return the whole posts body, while i have <!--more--> in my post and I want to show till this part. here is the code that I am using : <div> <ul> <? query_posts('showposts=5'); ?> <?php while (have_posts()): the_post(); ?...

Why doesn't jQuery Tablesorter Plugin work on this Wordpress page?

I have a working example of the Wordpress/jQuery plugin on this test page: http://beerlyrics.com/jimmy-jones/ I hardcoded it into the header on this page and both the pagination and filter mechanisms work correctly. I have converted this over to a new page and am now using wp_enqueue to call all my scripts as it is supposed to be done:...

Debug irrelevant Wordpress search results

On Wordpress, I keep getting irrelevant search results. Some search strings that do not exist on the DB yield All Posts as results. Some search strings that DO exist, works great. What could be the cause of that behavior? I've uninstalled all related plugins. Is there a way to debug the search? Thanks! ...

How can I create a new user in all my single-sign-on sites when they register on any of them?

I have an existing website written is Perl and have recently added a WordPress blog and BBPress forums. Each of the three systems has its own login mechanism. To make this a little cleaner I have integrated WordPress and BBPress to enable single sign-on between the two systems which works great. I now want to take the next step and int...

Wordpress how can I know if the pagination is active?

Has Wordpress a function or something like that?I need a way to check if there are any page links(Older Entries | Newer Entries)to be displayed or not. Best Regards, ...

Where do I add my RSS feed into WordPress

I have the feed burner code to put into wordpress but do not know where to put it into wordpress. ...

Members only based plugin for Wordpress

Can anyone recommend me a good membership based plugin? I just want to hide pages(as well as their tabs) if users aren't signed in. So far I found: 'Member Access' which doesn't hide the tabs, 'wp-members' which wouldn't work with 2.8.4 'user access manager' which was too complex clunky to be useful. There should be something basic...

Can't get wordpress feed to display full article...

This is probably going to be a really simple fix... I just can't figure it out. I want to display the posts from a wordpress category on the following page: http://www.oe-design.com/about-press.php?test I've managed to do so but when I show the 'description' on the page (my code: $item->description), it only shows a snippet of the arti...

How do I keep WordPress from formatting out leading spaces?

I'm trying to post some code snippets on my WordPress blog, but when I copy and paste, it strips out all the leading spaces from each line of code. It doesn't seem to have a problem with leading spaces being there in general, since I can add them back in manually, but it doesn't like them being pasted in for whatever reason. Is there s...

Count parents backwords in one SQL Query?

I have a MySQL database (created by Wordpress) and this is similar to what it looks like: ID parentID otherStuff 54 55 this is a test 55 56 another test 56 0 last test What I need to do is to check how deep down a page is. I know that when it reaches parentID 0 it's finished. I could wri...

organizing a list of pages in the wordpress sidebar using last.fm api

so i have my website, which i did in wordpress - http://chrisgruggen.com/class/mpm35/interactive-self-portrait/ my goal is to make the left sidebar have a list of my top bands (19 or 20 will do). i want them to be organized in order of how many play counts they have (using last.fm api) with the highest being at the top. i also want each...