shua
Forum Replies Created
-
Forum: Themes and Templates
In reply to: wp2.5 upgrade… template_functions_post.phpThanks!
I modified classes.php, but it doesn’t look like it is reading the custom field correctly. I tried a != value and it returned the class for all elements in the loop (meaning it didn’t find a value for the key?)
Thoughts?
Check out the sidebar page listing here: http://www.seesawnetworks.com/explore/life-patterns or Venue Categories << this is how it should work π
Forum: Themes and Templates
In reply to: Loop and layout Page childrenThoughts? Anyone?
Forum: Developing with WordPress
In reply to: Search 2 blogs – return one Search Results pageping
Forum: Themes and Templates
In reply to: Display template by file namefor anyone wanting the solution, try this on for size:
get_page_template
Forum: Everything else WordPress
In reply to: New at this…try out wordpress.com – learn your chops there.
good luck!
Forum: Themes and Templates
In reply to: Display template by file namemuskokee,
thx for the reply! in placing the code…index.php is returned for each and every page.
To clarify, I am looking for the template filename.
I have created custom page templates, and I would like to write some conditions specific to a template filename. For example if the template has ‘form’ in its name then do xy or z.
Forum: Everything else WordPress
In reply to: Strange URL in my site analyticsdrmike – cheeky reply. Maybe I can ask the questions in a different way.
There is no reason for anyone to goto:
http://my.domain.com/index.html
so with that stated is there anything within wp that by default uses:
http://my.domain.com/index.html?
Going thru the filesystem I can not find an ‘index.html’ file anywhere.
Forum: Fixing WordPress
In reply to: RSS Feed for a page in wordpress?Thx Sam! that was a deal breaker for upgrading.
best,
shuaForum: Everything else WordPress
In reply to: Line Breaks in RSS Feed?ugh!
answered my own question….
I shame myself.
DONT DELETE THE LOOP FROM THE TEMPLATE!
Forum: Everything else WordPress
In reply to: Line Breaks in RSS Feed?Great plugin! I have a slightly modified need howwever…
I am creating a Page that has content, excerpt, and a few custom fields.
I have created separate feed templates to serve just the_content, the_excerpt, and would like to serve JUST a custom field of my choice.
it would be great to use something like:
<content type="html"><![CDATA[<?php echo c2c_get_custom('custom'); ?>]]></content>any thoughts?
Forum: Fixing WordPress
In reply to: RSS Feed for a page in wordpress?Also, I am using permalinks to display Date and name based urls.
so my urls are:
http://www.mydomain.com/page1/page2/feed/atom/Forum: Fixing WordPress
In reply to: RSS Feed for a page in wordpress?Trying to follow along here…
This is my issue: I need to be able to serve 1 page item thru rss (or atom).
in 2.0.5 my url returns exactly what I would like to see:
[My Page Name]
[Content]in 2.1 my url returns:
Comments on: [My Page Name]Any thoughts?
Forum: Fixing WordPress
In reply to: Page specific cookiessolution: used dojo
super easy.
dojo.require("dojo.io");
dojo.io.cookie.set("canDownload","yes",365);
Forum: Fixing WordPress
In reply to: Page specific cookiesok. that didnt help, but I seem to have fixed the error.
Now there is no error, but the cookie is not being set.
my code (in first line of header.php):
<?php if(is_page(139)){
setcookie ("canDownload", "yes", time()+60*60*24*365*5);
}
?>
Forum: Fixing WordPress
In reply to: Page specific cookiesok, I placed my code in the header.php and do a is_page() to set the cookie.
still when I try to read it back I continually get a ‘false’ read rather than a ‘true’.
thoughts?
error msg: PHP Warning: Cannot modify header information – headers already sent…