Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Post-Kicker, -Byline & -Footer (http://forum.bytesforall.com/forumdisplay.php?f=17)
-   -   %comments in footer stopped working (http://forum.bytesforall.com/showthread.php?t=1033)

Dimitre Mar 31, 2009 12:14 PM

%comments in footer stopped working
 
Hello,

I was using this theme with no problems till last update (Athalualpa 3.3.1). When I installed the new version the following problem occurred: parameter %comments stopped working in FOOTER: Single Post Pages. It works in FOOTER: Homepage /with multi posts/. It also works when I switch to the previous version.


Any help from the author will be greatly appreciated.

Flynn Mar 31, 2009 07:45 PM

I had not thought about this but it's a result of the new bfa_postinfo.php

I changed bfa_postinfo.php to use simple Wordpress template tags now instead of the lower-level functions that I had built myself in earlier versions.

Now, with the default Wordpress functions, the default WP behavior (no comments link on single post pages) is being applied as well, leading to the result you describe. The advantage of the new way bfa_postinfo.php is written is that plugins can hook into the post info items and do something with them. Translation/multi-language plugins needs this, for instance.


Since a comment link on a single post page would be a jump to a named anchor on the same page rather than a "real link" it would probably be better accomplished with

At Post/Page Info Items -> FOOTER: Single Post Pages
HTML Code:

<a href="#commentform">Write a comment</a>
And right above the jump target, i.e. right above the comment form, in comments.php, add

HTML Code:

<a name="commentform"></a>

duping812 Apr 24, 2009 06:40 PM

I tried to add <a href="#commentform"> in the footer for single post pages, but I think it conflicts with my permalinks. The href value changes to "\commentform". Could you tell me why?

here is my test page,
http://thdp.org/tech/website/useful-flickr-tools

adum Feb 20, 2010 05:37 PM

I'm having this problem to. The issue is that # is converted to \ because it is used an escape for some letters. There has got to be some way to turn that off, I'm not sure how though.

juggledad Feb 21, 2010 12:36 PM

see the solution I just posted in http://forum.bytesforall.com/showthread.php?t=5199


All times are GMT -6. The time now is 02:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.