joel01
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Paging while using a custom select queryKafkaesqui, you’ve made my day! Thank you for your code, I adapted it to suit my needs.
@usuario:
Make sure you insert any additional ‘if’ statements before the ‘posts_where’ function returns. You should be able to use as many as you like for any number of situations. Just make sure you follow the format of the examples listed on the Conditional Tags page that Kafkaesqui linked to.Forum: Fixing WordPress
In reply to: Safari Issues & WordPressI don’t know if the issue is with Safari or changes that have been made by the WordPress team. If you go to TinyMCE’s demo page the editor seems to work fine, paragraphs aren’t joined together.
Does anyone know of a small hack that could be applied to TinyMCE in WordPress – not to give it more functionality but simply to fix the paragraph issue in Safari? I know of a plugin you can install but it offers too many extra options for my (or my client’s) liking.
Forum: Fixing WordPress
In reply to: controlling loop post countI’d like to know how to do this without a plugin. The Loop entry in the codex says the following about excluding categories in The Loop:
Please note that even though the post is not being displayed it is still being counted by WordPress as having been shown — this means that if you have WordPress set to show at most seven posts and that two of the last seven are from Category 3 then you will only display five posts on your main page. If this is a problem for you, there is more complicated hack you can employ described in the Layout and Design FAQ or you can use query_posts if you only need to exclude one category from the loop.
However, the Layout and Design FAQ doesn’t seem to mention this complicated hack. Would anyone know what it involves?
Forum: Plugins
In reply to: How to insert ‘wp_list_categories’ into a PHP-valiable?Yes, I’d also like to be able to do this… but without having to modify the WP core files. I’m running WP 2.2 but the behaviour is still the same. Can anyone running a more recent version confirm whether the behaviour has been fixed?
Forum: Fixing WordPress
In reply to: problem with blogrollWhat I did was to use the following template tag and options in my sidebar.php:
wp_list_bookmarks('title_li=&categorize=0');Forum: Fixing WordPress
In reply to: Visual Rich Editor and MacOmniWeb-5.5.4-v607.17
Visual Rich Editor button bar is visible, however the blockquote and ordered/unordered list buttons do not work. All the other buttons seem to work though.Forum: Installing WordPress
In reply to: WordPress Subversion (SVN) best practicesI’ve found a solution. It uses externals definitions, the same way plug-ins are handled if you install WordPress via Subversion. This allows any number of sub-directories in your local repository to be associated with different remote repositories.
First, import your custom folder (whether it be a theme directory or whatever) into your own remote repository. Remove this directory from your local WordPress directory structure.
Now you need to declare that this same directory (now deleted but soon to be checked out) is to be managed externally. Change into into its parent directory and run:
svn propedit svn:externals .
An editor window should open (this assumes that you’ve set some kind of EDITOR environment variable in your shell).Externals definitions are defined as follows:
<sub directory name> <URI of external repository>
Save and close.Now try running
svn up. The custom sub-directory and its original contents should be recreated.It took a lot of fiddling around for me to get it working smoothly, just make sure you backup any important custom files first before trying. One thing I’ve noticed is that you need to be inside your sub-directory when committing changes for it. If you try
svn ciin any directory above it then it will complain that you don’t have permission to make those changes to the remote WordPress repository (well it did for me but I’ve checked out a stable tagged version).Forum: Installing WordPress
In reply to: WordPress Subversion (SVN) best practicesI’d also like to know how to do this. I don’t really have any ideas as I’m new to both WordPress and subversion. Would it involve creating some sort of branch in your own repository?