Michael Fields
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Locating Footer Information in InoveBasically, if you want to change the Copyright part, you will nedd to delete all the dynamic php bits from
<div id="copyright">and replace it with whatever static text you want.<!-- footer START --> <div id="footer"> <a id="gotop" href="#" onclick="MGJS.goTop();return false;"><?php _e('Top', 'inove'); ?></a> <a id="powered" href="http://ww.wp.xz.cn/">WordPress</a> <div id="copyright"> <?php global $wpdb; $post_datetimes = $wpdb->get_results("SELECT YEAR(post_date_gmt) AS year FROM $wpdb->posts WHERE post_date_gmt > 1970 ORDER BY post_date_gmt ASC"); $firstpost_year = $post_datetimes[0]->year; $lastpost_year = $post_datetimes[count($post_datetimes)-1]->year; $copyright = __('Copyright © ', 'inove') . $firstpost_year; if($firstpost_year != $lastpost_year) { $copyright .= '-'. $lastpost_year; } echo $copyright; ?> <?php bloginfo('name'); ?> </div> <div id="themeinfo"> <?php _e('Theme by <a href="http://www.neoease.com/">mg12</a>. Valid <a href="http://validator.w3.org/check?uri=referer">XHTML 1.1</a> and <a href="http://jigsaw.w3.org/css-validator/">CSS 3</a>.', 'inove'); ?> </div> </div> <!-- footer END -->Forum: Themes and Templates
In reply to: Locating Footer Information in Inoveit’s in footer.php
Forum: Everything else WordPress
In reply to: SEO1. write good content and a lot of it.
2. get links from other sites with like content.
3. be sure to make proper use of headings<h1>,<h2>, etc and paragraphs.
4. Make sure to click the Make my blog public link on the install screen.
5. Get more links from sites like yours.Forum: Fixing WordPress
In reply to: Getting Flash File to work in WordPress.To help you, I need to know the following:
1. The name of the xml document.
2. A link to your wordpress installation – if live.
3. Whether or not you are using permalinks.Forum: Plugins
In reply to: How to clean meta datas generated by plugins?Links to javascript and css files should have no bearing on SEO. Plugins need to add this code to the head section of the document to function properly. Taking it away would render some plugins useless. SEO has more to do with good content + backlinks rather than styling and client-side scripting links.
Forum: Themes and Templates
In reply to: Writing a relative path to a theme’s stylesheetRight on… I should have posted:
$my_url = get_bloginfo('template_url') . '/css/default.css'; $ss->addStyle("default", $my_url, "screen");Forum: Themes and Templates
In reply to: Writing a relative path to a theme’s stylesheetuse get_bloginfo(); instead.
<?php get_bloginfo(‘template_url’); ?>
Awesomw! Glad you got everything sorted out:)
Forum: Themes and Templates
In reply to: A simple img alignmentYou’re welcome!!!
Forum: Plugins
In reply to: How to modify post content before output to blogMatthias, You’re welcome… best of luck, please let me know if you figure this out, I would love to see what you come up with 🙂
Forum: Themes and Templates
In reply to: Using Dashboard Widget overides sidebar.php code?You’re Welcome!
Forum: Plugins
In reply to: Is there a plugin that shows all posts from one category?Do you know of a place that I can get the complete code for showing the posts of a particular category?
Yes, I have something like this somewhere… I’ll have to dig through old files to find it… might be a few days though.
I am completely and utterly shocked that there is no plug-in that does what I am asking. It seems like the most fundamental of features – so much so that I would have expected it to be built in to wordpress itself.
This functionality is already supported by WordPress only it is a bit different. You need to think of pages and posts as two separate entities.
“Pages” are organized by a one to many type relationship: one page can be a parent of many but may have only one parent. “Posts” do not naturally fit into the world of pages at all.
“Posts” are organized by Categories by a many to many type relationship. One Category can contain many posts while one Post may exist in many categories. “Pages” do not fit into the world of Posts or Categories at all.
Knowing this. It is natural that posts be organized by category and not page. If I were in your shoes, I would create a category Named “Chapters” with a sub category for each chapter. These sub categories would show the posts for each chapter naturally using built in functionality.
Hope this explains a little….
Forum: Plugins
In reply to: Is there a plugin that shows all posts from one category?I think the best solution would be to Create a Custom Page Template which makes use of a customized loop. That shows only posts of a given category. This page template can then be assigned to any page in your blog. To choose the category from /wp-admin/, you could create a Custom Field which stores the category of that you want displayed on your page.
My question for you is: “Why would you use a page to display posts when there are already category archive views that do this for you”. It’s kinda like reinventing the wheel when you own a wheel store….
Just my opinion though 🙂
No Problem 🙂
Add the following code to the bottom of style.css:.entry{padding-bottom:1em}Forum: Themes and Templates
In reply to: How to Customise the RSS FeedHere’s an article about it:
http://mondaybynoon.com/2006/08/14/beginning-to-style-your-rss-feed/You will need to edit your feed files. There are a bunch of templates in /wp-includes/:
/wp-includes/feed-atom.php
/wp-includes/feed-rdf.php
/wp-includes/feed-rss.phpamong others