It’s a plugin mashup
August 12th, 2007
Playing around with plugins
Using a combination of plugins to achieve the goal
The goal is..
Objective: to place code in the page and have mini applications working within the parameters of the page
To that end I have mashed a few plugins together and will now try and explain why, that is before I forget myself
Initially I just wanted to be able to add things I had learnt or wanted to explain in the blog post page.
For eg. I followed a tutorial See previous post
I had to at the time take the example out of the wordpress loop, I couldn’t find a way to add the necessary code to the head section of the page without that code residing in every subsequent post I made. See auto generated content in previous highlighted post.
So another plugin to the rescue, sometimes they sound great , but don’t always live up to expectations, this is not one of those. It does what it says, But I still have struggles, and be aware I do make things difficult for myself.. You know I am just playing around here, nowt too serious.
To add a link to a style sheet specific to the
particular post I am writing is easy using the box generated, which appears under your post text box
<link href="mystyle.css" rel="stylesheet" type="text/css" />
So adding the above style sheet link to the add headers box will generate that link, but obviously does nothing to any links that are in the core wordpress index template. These links remain. and I’m wondering now why I am bothered
At this point I have kind of realized that it isn’t a mashup really at all, but to go back would be folly. I kind of wanted to get into what I had done, and why. It seemed like a good idea at the time.
A new page template
Nice tutorial on Binary Moon
I made new page template as shown below, but created a new header..header1.php and had the template call that.
<?php /* Template Name: Uniqu */ ?> <?php define('WP_USE_THEMES', false); require('header1.php'); ?> <div id="content"> </div> <?php get_footer(); ?>
Why, and for what purpose would you do that
Deleted the style sheet link that is why
And we come full circle..
hello Mr.Plugin, I think I need to add a new unrelated link here.
Could be css, javascript, whatever.
At the end of all that I have test page, not done anything with this yet, but in combination with another ‘add page plugin’ and ‘keep page from main navigation plugin’, we have an option from the web interface to be able easily to add unique content and style to the blog on the fly.
I will have to re-write this..
Entry Filed under: Software/Apps, Webby, CSS Reaction, WordPress


1 Comment Add your own
[…] oikofugic.com/blog/archives/2007/08/12/its-a-plugin-mashup/ […]
Leave a Comment
Trackback this post | Subscribe to the comments via RSS Feed