rtivel
Forum Replies Created
-
Forum: Alpha/Beta/RC
In reply to: What if I don’t want post revisions?I found a good tutorial on this particular problem: http://andreineculau.com/blog/2008/07/delete-wordpress-26-revisions/
The tutorial includes the SQL commands that will also clear out old revisions: over time, revisions can occupy a large chunk of space in the database.
Forum: Themes and Templates
In reply to: Theme Header formatting – WordPress DefaultGlad to help. Is your site still under development? If you don’t mind a little constructive criticism, here are a couple of impressions:
First of all, the black background makes things very difficult to read.
I do like the header and the customized navigation buttons.
When I check my site, I do it in three browsers: Firefox, IE, and Opera.
I am presently using IE6 and the page formatting is very different from the other two browsers.Royce
Forum: Themes and Templates
In reply to: Styling WordPress ElementsWith respect to the “Older Entries” and “Newer Entries” styling, I manually patched the wp-includes/link-template.php file as shown in http://trac.wordpress.org/ticket/6109.
I specified class names as shown below:
line 688 `function next_posts_link($label=’Next Page »’, $max_page=0, $class=’nextpostlink’) {
line 722 function previous_posts_link($label=’« Previous Page’, $class=’previouspostlink’) {`After saving the changes, the source code for my theme included the following:
<div class="navigation"> <div class="alignleft"><a href="http://buddy/wordpress/?paged=3" class="nextpostlink">« Older Entries</a></div> <div class="alignright"><a href="http://buddy/wordpress/" class="previouspostlink">Newer Entries »</a></div> </div>Once the class names had been defined, I could add the classes to my CSS file:
.nextpostlink { color:green; } .previouspostlink { color:maroon; } I could also modify the link behaviour by including these lines in the CSS file: a.nextpostlink:link {color: red} /* unvisited link */ a.nextpostlink:visited {color: blue} /* visited link */ a.nextpostlink:hover {color: green} /* mouse over link */ a.nextpostlink:active {color: maroon} /* selected link */ a.previouspostlink:link {color: red} /* unvisited link */ a.previouspostlink:visited {color: blue} /* visited link */ a.previouspostlink:hover {color: green} /* mouse over link */ a.previouspostlink:active {color: maroon} /* selected link */What this shows is that even if some things in a WordPress theme can’t be styled “out of the box,” the appropriate template files can be modified so as to produce the styling you want (not that I could do this without the experts at WordPress).
Forum: Themes and Templates
In reply to: Styling WordPress ElementsSorry for the double post. If a moderator sees this perhaps one of the posts can be deleted. I did not think the first post went through. I just didn’t wait long enough.
Forum: Themes and Templates
In reply to: Styling WordPress ElementsHere are a couple of ideas from a relative WordPress newbie.
Open up your blog page in a browser and then use the view source menu option. You can then find the class name for the text you want to style. For example, I opened up a browser for a test blog on my PC and found the following HTML in the source code:
<a href="http://buddy/wordpress/?p=40#more-40" class="more-link">Read the rest of this entry »</a>The code shows a couple of important things: it shows the styling class name for the text, “Read the rest of this entry »”. The styling class name is “more-link”.
Here is how I styled the “Read the rest of this entry »” message:
I Opened the style.css file for my theme with a basic text editor. The CSS file was in the \wordpress\wp-content\themes\yourtheme directory. The class name of “.more-link” did not exist in my style.css file–so I added it to the end of my CSS file:
.more-link { /*don't forget the period in front of the class name*/ color:red; /*change the message color to red*/ }This changes the color of the message to red. If you wanted to stylize the link behavior, you could add the Anchor Pseudo-classes to the style.css file, referencing the .more-link class, like this:
a.more-link:link {color: #FF0000} /* unvisited link */ a.more-link:visited {color: #00FF00} /* visited link */ a.more-link:active {color: #0000FF} /* selected link */ a.more-link:hover {color: #FF00FF} /* mouse over link */As for the text, I opened the index.php file for my theme. I found this:
<?php the_content('Read the rest of this entry »'); ?>I changed it to this:
<?php the_content('More »'); ?>For other navigation links, the problem appears to be more difficult. What is really needed is a class name added to the generated link. You might look at
http://trac.wordpress.org/ticket/6109 for an idea of what might be involved. Perhaps someone a lot more familiar with patches and PHP can add some advice here. This is a very interesting problem.Forum: Themes and Templates
In reply to: Styling WordPress ElementsHere are a couple of ideas from a relative WordPress newbie.
Open up your blog page in a browser and then use the view source menu option. You can then find the class name for the text you want to style. For example, I opened up a browser for a test blog on my PC and found the following HTML in the source code:
<a href="http://buddy/wordpress/?p=40#more-40" class="more-link">Read the rest of this entry »</a>The code shows a couple of important things: it shows the styling class name for the text, “Read the rest of this entry »”. The styling class name is “more-link”.
Here is how I styled the “Read the rest of this entry »” message:
I Opened the style.css file for my theme with a basic text editor. The CSS file was in the \wordpress\wp-content\themes\yourtheme directory. The class name of “.more-link” did not exist in my style.css file–so I added it to the end of my CSS file:
.more-link { /*don't forget the period in front of the class name*/ color:red; /*change the message color to red*/ }This changes the color of the message to red. If you wanted to stylize the link behavior, you could add the Anchor Pseudo-classes to the style.css file, referencing the .more-link class, like this:
a.more-link:link {color: #FF0000} /* unvisited link */ a.more-link:visited {color: #00FF00} /* visited link */ a.more-link:active {color: #0000FF} /* selected link */ a.more-link:hover {color: #FF00FF} /* mouse over link */As for the text, I opened the index.php file for my theme. I found this:
<?php the_content('Read the rest of this entry »'); ?>I changed it to this:
<?php the_content('More »'); ?>For other navigation links, the problem appears to be more difficult. What is really needed is a class name added to the generated link. You might look at
http://trac.wordpress.org/ticket/6109 for an idea of what might be involved. Perhaps someone a lot more familiar with patches and PHP can add some advice here. This is a very interesting problem.Forum: Themes and Templates
In reply to: header.php template problemsFirst of all, I am not an XHTML or PHP guru. That being said, is the syntax for these statemets correct?
<h1>/"><?php bloginfo('name'); ?></h1>
?>">/">HomeI don’t quite get the
/">If this isn’t the problem, could the CSS file be using the text-transform Property for the
<h1>tag?I hope this helps.
Forum: Themes and Templates
In reply to: Theme Header formatting – WordPress DefaultMight I humbly suggest this article for some hints from a relatively new WordPress user: How to Install and Style WordPress 2.5
I have modified my blog starting from the basic Kubrick theme. Although I do not presently use graphic headers and footers on my blog, I previously experimented with new graphic headers and footers. When I did this, I also had to create a new “slice” to fill in the page between the header and footer graphic. In the Kubrick theme, this “slice” is called kubrickbgwide.jpg and is found in the image directory of the default theme. It would appear that you will have to do something similar for your blog.
I hope this helps.
Forum: Themes and Templates
In reply to: Default TempletDo you still have the original .zip file you downloaded? If so, you can just unzip the file again to a folder in your computer and access the default theme in the wordpress\wp-content\themes\default folder.
If you don’t have a copy of the .zip file, you can find a copy to download at http://wordpress.org/download/release-archive/
I hope this helps.
Forum: Plugins
In reply to: What are the differences between v2.6 and v2.7?I found a nice utility to compare either files or folders for changes.
The utility is called CSDiff.Forum: Installing WordPress
In reply to: Install and Style Tutorialjonimueller,
Thanks for your comments. I have a lot more to read at WordPress.
Royce
Forum: Installing WordPress
In reply to: Install and Style Tutorialhallsofmontezuma,
I understand now and I certainly do not mind a warning. I will be more careful about how I post in the future.
Royce
Forum: Installing WordPress
In reply to: Install and Style TutorialMichaelH,
Thank you for your quick response.
I tried to think of the best place to make my post. Since the article I linked to was “How to Install and Style WordPress 2.5,” I was at a loss as to the best place to post. The article is about installing and theming and is also a “How to.”
Here was my problem: I thought the article would be of interest to those who are installing WordPress AND/OR those who were styling or theming WordPress. Thus, the multiple posts. You notice that I only posted in the forums that seemed to be appropriate for the article’s content and not to every forum (just 3).
What would you suggest as the best place for the post? Perhaps you could move it there?
I hate spam too and want to avoid even the hint of spam in my future posts.
I appreciate your help.
Royce Tivel
Forum: Installing WordPress
In reply to: Install and Style Tutorialhallsofmontezeuma,
If you consider my post to be spam and you are a moderator, please feel free to delete it.
The post was my honest attempt to share my experiences with installing and customizing WordPress.
Over the last couple of weeks, I have spent many hours working with WordPress as a possible platform for my web site. As a WordPress Newbie, I felt my experiences would be useful to other forum members.
Calling the post spam is not very helpful. This was my first post to WordPress, and I certainly didn’t expect such a comment. A constructive comment would have been more helpful. For example, you could have explained why you thought this is spam so that I could avoid the same mistake in the future.
Did you read my article? Some constructive comments about that would have been more welcome. Again, I am not a WordPress guru but just someone interested in learning about WordPress and sharing my experiences.
I am very enthusiastic about the new WordPress release but perhaps the forum is not the correct place to express that.
Should our forum posts be limited to just asking and answering questions?
I would like to be a contributor to the WordPress community as I have to forums for other platforms. Perhaps you could indicate the most appropriate way to do this?
Royce Tivel