bopjo1
Forum Replies Created
-
We are having the same problem. Tracks initial visits, but not return visits.
Forum: Themes and Templates
In reply to: Loading jQuery & javascript in footerThanks, I just tried your method and it loads bootstrap.min.js in the footer all well and good, but not jquery. It still loads jquery in the head. I think the reason for that is because jQuery is pre-registered by WP core files without the parameter to load in the footer.
I’m trying to get them both to load in the footer, with jquery first (required when using bootstrap.min.js). So far, my code has been the only method i’ve found to load them both in the footer in the correct sequence.
Forum: Themes and Templates
In reply to: Sidebar-page.php issuesThanks. Yes, seems quite a bit more complex than twenty ten..
Forum: Themes and Templates
In reply to: Sidebar-page.php issuesNevermind, I finally got it, but I would love to know why this is so hard to do? Surely people have the need for multiple static pages with different sidebars? Seems this should be much more convenient to achieve!
Forum: Themes and Templates
In reply to: Sidebar-page.php issuesYes, but WordPress is supposed to adjust that when using the sidebar-page.php template. I made an exact copy of that file, changed the template name at the top, and saved it as a different file name. When I assign it as a template to a page, I don’t get the same layout as the sidebar.php template.
Forum: Themes and Templates
In reply to: Sidebar-page.php issuesWell I got the error to go away, but still have the original problem of the sidebar dropping down below the main content
Here is the way it is supposed to look. This page uses sidebar-page.php as the template:
But here is how it ends up when I create a new template using sidebar-page.php. The sidebar drops below the main content:
Forum: Fixing WordPress
In reply to: Please Help – Update failed now cannot access siteThanks. I downloaded the new version then replaced my wp-admin and wp-includes folders via FTP. That let me access the dashboard where I was able to reinstall the latest version. All is well now…
Forum: Fixing WordPress
In reply to: Need to change the format of RSS dateI found a partial solution. If anyone else has this problem (formatting the pubDate with XSLT), change this line:
<xsl:value-of select=”pubDate”/>
to this:
<xsl:value-of select=”substring(pubDate,1,16)”/>
..and it will get rid of the “14:32:33 +0000” part of the date.
Forum: Fixing WordPress
In reply to: Need to change the format of RSS dateMy code was generated by Dreamweaver CS4. The recieving page has this code:
<?php
$mm_xsl = new MM_XSLTransform();
$mm_xsl->setXML(“https://assetmarketingonline.com/blog/?feed=rss2”);
$mm_xsl->setXSL(“blog_feed.xsl”);
echo $mm_xsl->Transform();
?>“blog_feed.xsl” is an XSL include file with the following code:
<?xml version=”1.0″ encoding=”utf-8″?><!– DWXMLSource=”https://assetmarketingonline.com/blog/?feed=rss2″ –>
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp “ ”>
<!ENTITY copy “©”>
<!ENTITY reg “®”>
<!ENTITY trade “™”>
<!ENTITY mdash “—”>
<!ENTITY ldquo ““”>
<!ENTITY rdquo “””>
<!ENTITY pound “£”>
<!ENTITY yen “¥”>
<!ENTITY euro “€”>
]>
<xsl:stylesheet version=”1.0″ xmlns:xsl=”https://www.w3.org/1999/XSL/Transform” xmlns:wfw=”https://wellformedweb.org/CommentAPI/” xmlns:atom=”https://www.w3.org/2005/Atom” xmlns:sy=”https://purl.org/rss/1.0/modules/syndication/” xmlns:slash=”https://purl.org/rss/1.0/modules/slash/” xmlns:content=”https://purl.org/rss/1.0/modules/content/” xmlns:media=”https://search.yahoo.com/mrss/” xmlns:dc=”https://purl.org/dc/elements/1.1/”>
<xsl:output method=”html” encoding=”utf-8″/>
<xsl:template match=”/”>
<xsl:for-each select=”rss/channel/item”>
<xsl:if test=”position() <= 5″>
<div class=”feed”>
<h3><xsl:value-of select=”title”/></h3>
<xsl:value-of select=”pubDate”/><p><xsl:value-of select=”description” disable-output-escaping=”yes”/></p>
</div>
</xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>I don’t know how to change the format of “pubDate”