I have a page with template No Sidebars I want to list 5 posts' titles on that page by author where the author's name = page's title
any idea how to do so without using any plugin?
I thought that query_posts function would do the trick but this important note kind of tells me that I cannot use query_posts
...
Hi,
I have been tasked with creating an API for retrieving and adding content to Wordpress from a flash application and legacy CMS (non-PHP). My plan is to utilise the existing default xmlrpc endpoint and add any additional functionality by creating a plugin which hooks into xmlrpc_methods.
A previous attempt had been made by another d...
I've been looking at Wordpress plugins for photo galleries (so maybe this is for superuser.com), and I've been very frustrated so far. It seems like what I'd like to do would be a very common use case:
Admin: Be able to upload multiple pictures (at a time)
Admin: Be able to assign a "gallery" to those pictures as I upload them
User: B...
Newbie Autodidact Question: When I use custom field key/value in loop to to filter output to a sidebar list, there is a long delay between posting the custom fielded page and its appearance on the blog. Why is this ?
Here's a snippet of what I'm doing - whether it's proper or not I don't know... I'm sure the switch code is redundant.....
I'm in the process of updating a WordPress plugin that's been out for a while, and part of "future proofing" the plugin is to get rid of some shoddy naming schemes that were implemented in the beginning phases of the plugin.
I figured I would simply add an activation hook which would check to see if any of those names existed, and if so...
Can I browse a blog's comments feed further than the first page (usually 10 comments)
I know there's a comments feed:
/comments/feed
and comments feed for a specific post:
/feed?p=23
and posts feed which can be paginated:
/feed?paged=2
and the ability to pageinate comments on a post using comment-page-2 or cpage=2 on a post (not in f...
In the post screen, I want to remove the option of multi-authors being able to 'free tag' their posts. In other words, only allow tags that have been preset in the admin tags section.(these tags are of course visible in the tag cloud in posts screen) The concept is to prevent authors introducing random tags in their posts, leading to dup...
Hey all,
I am trying to centre page numbers at the bottom of this test blog...
http://jocelynwarner.com/test/
in the centre between the previous and next buttons however I cannot think how to do it, I tried a few different tutorials but they didn't really seem to help with this.
Any hints on how to make them sit centrally in the left...
the bellow function is working fine but I need to run it inside the loop. If done so the post content is actually taken from the last post of my WP_Query. Not from the one that should appear.
Is there any way to run my query and leave The Loop unaffected?
function recent_post_by_author() {
echo '<div class="recent_post_by_author">';...
can I do something like that? to pass arguments to my function? I already studied add_action doc but did not figure out how to do it. What the exact syntax to pass two arguments would look like. In particular how to pass text & integer arguments.
function recent_post_by_author($author,$number_of_posts) {
some commands;
}
add_action('t...
Hello
I want to change default post search order to order:
sample cat 1
sample post from cat 1
sample post from cat 1
sample cat 2
sample post from cat 2
sample post from cat 3
sample cat 3
etc..
So... I want to define category order and in search results will be sorted for this order and in category order will be date DESC. O...
How can i force the wordpress search show just the result with the full word no with the part of words.
...
Dont know if SO is the appropriate place to ask this question, but anyway ...
I have some sites running Wordpress and maintaining/managing them is a pain. Is there any CMS or blogging platform out there that support multiple sites/blogs in one codebase ? I know there are some hacks for Wordpress but they are quite ugly and do not scale ...
Hi out there,
my challenge is to built a video portal, based on wordpress (blog already started).
so in the backend there must be a option to add, tag, descripe videos and in frontend the videos must have a comment function, must be searchable and so on.
wordpress gives already a large amout of functionallity and i want to use this, co...
Hi,
im creating a own plugin for wordpress where i have to view a set of data.
now i want to use the wordpress default table view to display my data, and give some functionality to it
default table:
is there a way to use this table view for my own plugins (some classes or functions) or do i have to create something similar by myself...
Hi All WordPress Lovers,
I would like to ask a help about Zensor which is a plugin
that you publish a post then a moderator approves the post to be published on the wordpress blog site.
When a post is awating for approval, each awaiting post is appearing "waiting moderation". But, I dont want any link appears before moderator approval....
Could you please recommend a plugin for Wordpress or maybe a tiny standalone PHP script that allows the user to add some items with text info and a photo to a database, XML or just a text file from a special admin page? I need to fetch these items from the source and show in the page some way. To understand the task better, please check ...
Usually in my PHP apps I have a base URL setup so I can do things like this
<a href="<?php echo BASE_URL; ?>tom/jones">Tom</a>
Then I can move my site from development to production and swap it easily and have the change go site wide (and it seems more reliable than <base href="" />.
I'm doing up a Wordpress theme, and I am wondering...
At present I am displaying a list of the last 5 posts in a site's blog in its footer using this mysql query:
SELECT post_title, guid, post_date FROM wp_posts WHERE post_type = 'post' AND post_status = 'Publish' ORDER BY post_date DESC LIMIT 5
How can I edit this query to restrict the search to a particular category id? I thought it wo...
I've seen a few, and tried out Contact Form 7, which is pretty good but by default looks quite ugly.
I've also had a quick dig, and it looks hard to add some hooks for CSS. It also doesn't use the label element.
What is the best standards compliant easy skinnable contact Wordpress plugin in your experience?
Update
I just found out h...