Hey all,
I was wondering how I can get the last three posts before (and after) a certain date.
I was looking at query_post but I can't figure it out.
I'm looking to do this in functions.php. Ideally, it would return just basic home page stuff.. title, first image, num_comments, etc. I don't need to query the whole article.
EDIT: I...
I'm assuming these instructions are for "normal" wordpress... will this work with wpmu or do i need to modify this? Is there anything i should watch for?
http://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/
...
hi!
I've been using Drupal to create websites for about 2 months. I find it pretty easy to create a view or a block which could hold my dynamic content like latest photos, comments and all.
Now, i've started using Wordpress and it puzzles me how to do those things. Like, how to create a site like this:
http://theklaxon.com
Should i cr...
We are about to start a new project, and an outsourced developer has come in and insists that Textpattern is the way forward... personally I don't mind. I can develop in almost any PHP environment... but the aim of the game is that it does well with SEO.
The question is, is Textpattern any good? Wordpress, Drupal etc are all very usable...
Hi,
I'm trying to setup a Search Results page with two columns. First column will present results from all categories except one (Galleries), and the Second column will present only the Galleries category.
query_posts() simply resets my results. This is what I got so far. Broken:
<?php
$s = get_query_var('s');
...
I have two categories, visible and hideMe...
I want to list all posts in the visible category, which is easy enough. However, due to user error (or oversight) there may be some posts which are in both categories.
How can I pull the posts that are in the visible category but not also in the hideMe category?
Here's my current solution. ...
Hi,
I'm currently developing a Wordpress plugin. For my plugin to work I need some info te be filled in on the settings page.
Is there a way to warn/throw an error so the blog admin can see this message on his/her dashbord?
Is there another function to show errors other than wp_die()? Just in case my plugin (or someone else) screws ...
All of my static pages are running fine with the custom template but for some reason the posts show up outside the frame.
----------page.php----------------
<?php
/*
Template Name: Page with Comments
*/
?>
<?php get_header(); ?>
<div id="wrapper">
<div id="wrap">
<div id="secondWrapper">
<div id="head">
<div id="header"...
I run a blog where the community can post time-sensitive community links (sports scores and such). After a certain time, those posts are no longer useful, so I want to delete them in batch via a MySQL query, but I don't know how. I imagine that getting rid of those posts entirely is more than just deleting from the wp_posts table, right?...
I'm trying to update tables in my wordpress mu database. I want to update all wp_options tables. These tables are named like this:
wp_1_options
wp_2_options
...and so on.
How do i affect all tables with wp_any-character-here_options? I tried to query for:
UPDATE wp_%_options
SET option_value = replace(option_value, 'http://www.o...
I want to create a WP plugin with use of WP DB tables and costume ones, Ajax requests Rss feeds reading and writing and media storing and Google maps. Such a crazy plugin it will be...
So Haxe PHP or normal PHP - what language is better for creating Plugins for WordPress?
BTW books blog articles and docs are appreciated as proofs for ...
I'm using statements from here:
http://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/
but i had to modify them because i'm using multi-user and it has different table structure (weird numbered tables). As you can see in my previous question it's all REALLY problematic... So my question is:
Can ...
I am trying to work around a plugin for Word Press called "Event Calendar 3". This plugin lets you create events and then feeds them into a SQL table in the Wordpress database. However, this plugin does not discriminate between different types of events, eg repeating events, one-off events.
The beginning of my solution was to create a c...
I've been looking all over but I can't find the documentation of Wordpress's XML-RPC API including a listing of all the functions, their parameters, etc. Can someone post the link(s)?
...
I know about the "More Fields" plugin. The plugin seems to have all the functionnality a would need. The problem is that it's no longer supported and seems to be broken with the latest wordpress release.
Do you have any suggestion on another solution that would suit my need? What I really need is the Rich Text Editor (WYSIWYG) for custo...
Is it possible to have two URL for a same post in wordpress.com?
One would be a short URL like
http://mydomain.com/28
and the other will be a SEO friendly one:
http://mydomain.com/28-this-is-the-post-about...
thanks
...
So I want to port WordPress to Haxe. I need HP to Haxe translators. Where can I get tham?
...
I have my Wordpress blog on blog.mysite.com, and a totally different site (built in my framework) at www.mysite.com.
I know if the blog and another site are on the same server, and have correct permissions, I can use the following to "syndicate" my blogs to the non-blog site with:
define('WP_USE_THEMES', false);
require('/var/www/vhos...
I would like to autorefresh a certain div with the ID of blue everytime I update a post with that ID.
I know the Jquery code looks something like this:
var auto_refresh = setInterval(
function ()
{
$('#blue').load('load.php').fadeIn("slow");
}, 10000);
Instead of loading "load.php" I would just like to reload the updated contents in t...
How can I remotely make a post to a user's blog after he/she gives me his login info using the wordpress api? What method do i need to use, what paremeters should it have, etc? Sample code will be great.
I'd prefer to use the XML-RPC api but others will also be acceptable.
...