jodpie
Forum Replies Created
-
Forum: Plugins
In reply to: Live Open Directory on sidebarI have updated blog posts about JODPIE Bar to reflect last changes and published a CSS tutorial to customize JODPIE Bar. Anyway for the specific use of JODPIE live Open Directory with WordPress sidebar is suggested the use of JODPIE WP-ODP even because, among other things, it’s not remotely hosted.
Forum: Everything else WordPress
In reply to: WP and high traffic sites…can it handle it?Yes zdnet relies on WP installation for its tech blogs.
Forum: Fixing WordPress
In reply to: Organizing a Site Using WP’s PagesI have same problem with child_of parameter and on the codex I haven’t found information I was looking for. Using posts only for excerpts and pages with subpages easily browsable through such child_of parameter should be a good solution to make the blog benefit of pages feature to add more reach and organized content than posts could allow for their nature.
Forum: Themes and Templates
In reply to: Why not put CSS into .phpSeparating CSS from HTML is the common rule “unless it’s to override the stylesheet” as fuzzy_logic stated. As HTML is dynamically generated in example with PHP, why not the same for CSS?
The following PHP code is to provide an external CSS to any HTML page:
header("Pragma: public");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Cache-Control: public");
header("Content-Description: File Transfer");
header("Content-Transfer-Encoding: text");
header("Content-Type: text/css");
Forum: Plugins
In reply to: RHODP PluginYes I know, actually it’s just a fast way to embed javascript interface to remote-script part as hook to action wp_meta. This interface now should be quite stable while I’m refining the remote part. Probably when I feel the remote script is stable I will release a pure PHP version as WP Plugin only. Actually as you can see there is a switch, variable wp on query string to remote script, that enable remote script to format output for usage in WordPress. Anyway I want to point out that even with a pure PHP version of this plugin there will be still two remote sides as Open Directory data are lively fetched from dmoz.org and thumbshots are embedded as remote links to Thumbshots.org. To make the plugin fully local an import of Open Directory RDF dumps should be downloaded from dmoz.org (about 300 MB), decompressed (about 2.5 GB), parsed and stored in a db (about 2 GB) and used to fetch locally data to display. It’s possible, I have done a tool that does it but I don’t think it’s a good idea to waste so much local resources for usage in a blog.
Forum: Fixing WordPress
In reply to: Filter for sidebarAs wp_meta is an action defined in wp-includes/template-functions-general.php:
56 function wp_meta() {
57 do_action(‘wp_meta’);
58 }Modifying my test code in the following way works:
function myplugin() {
$output=”Hello world!”;
echo $output;
}add_filter(‘wp_meta’, ‘myplugin’,0);
Forum: Fixing WordPress
In reply to: Filter for sidebarThere is wp_meta:
Parameter unused. Executes in the Meta section of the included Theme’s sidebar.php’s. Useful for insertion of additional content.I have tried in the following way and of course doesn’t work.
function myplugin($input) {
$output=$input.”Hello world!”;
return $output;
}add_filter(‘wp_meta’, ‘myplugin’,0);
Forum: Themes and Templates
In reply to: Lesson: Developing a Colour Schemenuclearmoose, I know both the two online resources you have suggested. In my opinion the second Wellstyled.com’s Color Scheme Generator 2 is, as far as I know, really the best online colour scheme generator.