xqt
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Modify Category List – Remove # of Postsopen your themes sidebar.php and find either wp_list_cats or list_cats and modify it according the documentation the way you wantthem to be
Forum: Plugins
In reply to: the_contentalresha, this are a really thoughfull …thoughts 🙂 you mention. That is exact why I wanted to add_filter only on a single post page and not on a list. But on the other hand there are blogs (I’ve seen) that that show the whole content of every one post even on list pages, e.g. last 10 posts on the main page. That’s why I am thinking of making also a configuration page where the user can easily conf the plugin.
I’ve checked once again your suggestion with is_single and is_home and found out that I misused is_single() yesterday. It works just fine. You can look at it on my homepage.
Forum: Plugins
In reply to: the_contentNo, I am not. I am adding to a TOC to the posts. But the_excerpt is taken from the_posts, so when adding a TOC at the beginning of a post and its shown after that in the excerpt, what you see is only a HTML-stripped TOC. And that’s fine for the purpose of the plugin … I’ve just re-thinked my problem … whta I need is after manupulating the_posts to once again manupulate the_excerpt, I thnik
Forum: Plugins
In reply to: the_contentTank you, alresha. I’ve just checked is_single() and is_home() out. But this are template tags. I dodn’t know but I think they can not be executed within a plugin -> they didn’t work with a test I just made.
The poblem is that on my site and mabe also on others the main page shows only the last post as a whole and only excerpts form the last 2-10 posts e.g. Excerpts are with stripped HTML, so after inserting a TOC at the beginning of every post, a excerpt shows only the HTML-stripped TOC and nothing from the post itself and that’s stupid …Forum: Plugins
In reply to: the_contentotto42 10x for the hints. i rewrite v0.2 from the scratch and it’s looking good :).
can i somehow check if the caller is the index site (in most cases with several posts) or it single page with only one post on it? 🙂Forum: Plugins
In reply to: the_contentwell ok, but this means if want to parse the whole content of a multiple-pages-post i have to cycle the whole array which is not performace optimized if the blog has many posts.
i am wokring on a toc plugin so parsing all entries content is not the best solution for my purpose.Forum: Plugins
In reply to: order of plugin executionBecause I want to make it public, not just for my use. So I don’t want to make other people hack PHP code … especially those that don’t speak it.