danv
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to set “Last-Modified” date in Word Press folder?My ‘archives’ view is basically like you mentioned – it is my blog which resides at: https://www.example.com/archives
So when a person is in any page in my Blog I would like the “Last Modified Date” to be shown in the server header. So search engines know whether to index it again.
Which file(s) do i have to set the Group execute bit on? If any? for XbitHack.
Forum: Fixing WordPress
In reply to: 2.02 adding <br> tags to <li> and <ul> tags ?Thanks a lot by the way. I’m glad you mentioned again about plugins. I don’t know how that one was installed.
Cheers,
Forum: Fixing WordPress
In reply to: 2.02 adding <br> tags to <li> and <ul> tags ?I unistalled the Textile 1.0 plugin. That seemed to fix problems 1-3 ! I Have not tested 4 yet. It validates! Except for an empty list from the WordPress Default theme page: sidebar.php
I am wondering if I should add a space to that list section so the list validates. Any foreseen problems if I do it?
Here is the page source from Firefox
</li><!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
<li><h2>Author</h2>
A little something about you, the author. Nothing lengthy, just an overview.</li>
--><li>
</li>Forum: Fixing WordPress
In reply to: 2.02 adding <br> tags to <li> and <ul> tags ?ipowerweb upgarded us all ‘automajically’ to version 2.02 from 1.5
Yes I have modified a little bit of CSS but not core files. Absolutely no plugins that I installed. Is there a quick way to check? Wait a minute…
They must have installed Textile1 or is it default with 2.02? Should I remove Textile 1.0? Do I have to make a backup first?
Plugins Activated:
Hello Dolly 1.5
Textile 1.0Issues currently experiencing:
1. I always get a trailing paragraph ending tag at the end of the article.
2. I always get a initial paragraph tag at the begining of my article, so my first sentence just has an ending paragraph tag and no beginning by me.
3. I can’t have any spaces between tags in the entire unordered List or in the line before it – else I will get line breaks.
4. If I hit shift-enter or enter I always get a line break at the end of the article.Forum: Fixing WordPress
In reply to: 2.02 adding <br> tags to <li> and <ul> tags ?Maybe I didn’t understand how the editor works?
I can only get the resulting HTML to look “mostly correct” if:
I strip all whitespace between tags out of the editor and never hit the return key. Then and only then will I have just one extra starting and ending tag at the very end of the page.Example:
Editor HTML looks like this:
<p>I am testing the lists in my web site.</p><ul><li>Item 1</li><li>Item 2</li><li>Item 3</li></ul><p>How does it look?</p>
Published HTML looks like this:
<div class="entry">
<p><p>I am testing the lists in my web site.</p><ul><li>Item 1</li><li>Item 2</li><li>Item 3</li></ul><p>How does it look?</p></p></div>
Forum: Fixing WordPress
In reply to: 2.02 adding <br> tags to <li> and <ul> tags ?Same problem after creating a brand new post via Word Press and not using the Visual Editor.
Here is the HTML before publishing:
I am testing the lists in my web site.<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>How does it look?
Here is the HTML Page code after publishing:
<div class="entry">
<p>I am testing the lists in my web site.</p><p><ul></p>
<p><li>Item 1</li><br /><li>Item 2</li><br />
<li>Item 3</li><br />
</ul></p><p>How does it look?</p>
</div>
Forum: Fixing WordPress
In reply to: 2.02 adding <br> tags to <li> and <ul> tags ?I don’t have any plug-ins installed. I am using the default theme.
I turned off the visual editor in 2.02. It should be easier to use now.
But when I save and Publish (added new text to make sure I was looking at the newest version) the web page source still shows the <br/> tags in each list item when the source does not…?
The page source looks like this still:
<ul></p>
<p><li>list item1</li><br />
<li>list item2</li><br /><li>list item3</li><br />
<li>list item4</li><br />
</ul></p>The source html does not have the line break tags at all?
Any more ideas? thanks,
Forum: Fixing WordPress
In reply to: Lists weird in Firefox and html weirdness with 2.02?OK that didn’t post well ?? here it is again.
Here is the good posted code:
<ul><li>Immediate Business Name Registration</li>
<li>Business Name Renewal electronic application (MBL in the mail within 2 weeks)</li>
<li>Retail Sales Tax Vendor Permit electronic application (RST)</li>
<li>Employer Health Tax electronic application (EHT)</li>
<li>Workplace Safety and Insurance Board electronic application (WSIB)</li>
</ul>Here is the bad code:
<p>Immediate Business Name Registration<br />
<ul></p>
<p><li>Business Name Renewal electronic application (MBL in the mail within 2 weeks)</li><br />
<li>Retail Sales Tax Vendor Permit electronic application (RST)</li><br />
<li>Employer Health Tax electronic application (EHT)</li><br /><li>Workplace Safety and Insurance Board electronic application (WSIB)</li><br />
</ul></p>Forum: Fixing WordPress
In reply to: Lists weird in Firefox and html weirdness with 2.02?To see some of the other problems all you have to do is view the source using the FireFox HTML validator plugin that uses Tidy HTML. It finds a number of errors around the bulleted lists section.
Here is an example of a bulleted list that got really weird when saving in the html editor. The tags don’t line up anymore and <br> tag added. Below is supposed to be a 5 item list like so:
<ul>
<li>point one </li>
...
</ul>
Forum: Fixing WordPress
In reply to: www and trailing slash problemMany people have said “just Google word press” but the one key thing is you need to use the word ‘rewrite’ to find anything useful. Which is not common sense for someone who is not in to Apache language.
That’s like saying ‘look it up in the dictionary’ when you don’t know how to spell it ??
Forum: Fixing WordPress
In reply to: Each post is not on a separate line in sidebarI finally get it Kafkaesqui.
Thanks a lot by the way.
This worked with the default theme and correct bullets[li][h2][?php _e(‘Recent Entries’); ?][/h2]
[ul]
[?php wp_get_archives(‘type=postbypost&limit=7’); ?]
[/ul]
[/li]I would still love to know how to do the same thing with format = custom though. Was I right? Do you have to change the [a] anchor tag in a div?
Forum: Fixing WordPress
In reply to: Each post is not on a separate line in sidebarI have also tried the [p] paragraph tags but this does not work also.
sidebar.php source:
[li][h2][?php _e(‘Recent Entries’); ?][/h2]
[ul]
[p][?php wp_get_archives(‘type=postbypost&limit=7&format=custom’); ?][/p]
[/ul]
[/li]If you look at the published web html page source you see:
[li][h2]Recent Entries[/h2]
[ul]
[p] [a href=’https://aaaa.com/archives/2005_12/internet-marketing-survey.shtml’ title=’Internet Marketing Survey’]Internet Marketing Survey[/a]
[a href=’https://aaaa.com/archives/2005_12/december-hamilton-chamber-events.shtml’ title=’December Hamilton Chamber Events’]December Hamilton Chamber Events[/a]
[a href=’https://aaaa.com/archives/2005_12/new-hamilton-smb-blog.shtml’ title=’New Hamilton SMB Blog’]New Hamilton SMB Blog[/a]
[/p]
[/ul]
[/li]This shows that it is only putting the tag before and after all the links. So I guess you are saying to replace the [a] tag with an anchor class that has a line return for each [a] link?
Forum: Fixing WordPress
In reply to: Each post is not on a separate line in sidebarForum: Fixing WordPress
In reply to: Each post is not on a separate line in sidebarMy post did not show the html tags correctly for some reason, they must have been stripped out.
I simply copied the exact same syntax for the sidebar.php ‘Archives’ section and modified it for the new ‘recent entries’ section.When I view the html source on the web it does not look the same as the source php file. In fact it looks like the [li] and [ul] tags are reversed in sidebar.php, where the [li] is the outer ‘nest’ for some reason. The way ‘Categories’ is shown below is how the sidebar.php was setup be default which looks incorrect.
Here is a better code sample:
[li][h2][?php _e(‘Recent Entries’); ?][/h2]
[ul]
[?php wp_get_archives(‘type=postbypost&limit=7&format=custom’); ?]
[/ul]
[/li][li][h2][?php _e(‘Categories’); ?][/h2]
[ul]
[?php listst_cats(0, ”, ‘name’, ‘asc’, ”, 1, 0, 1, 1, 1, 1, 0,”,”,”,”,”); ?]
[/ul]
[/li][li][h2][?php _e(‘Archives’); ?][/h2]
[ul]
[?php wp_get_archives(‘type=monthly’); ?]
[/ul]
[/li]Questions I have.
1) So if I just copied the ‘archives’ section it should work right?
2) Or should I reverse the list tags?
3) Or should I use another tag?