CorpCommander
Forum Replies Created
-
Forum: Plugins
In reply to: [Event Calendar] BrokenHey thanks for that link. I will have to give it a try.
Forum: Fixing WordPress
In reply to: [Ajax Event Calendar] entries do not show up in mobile versionsI have the same problem. I am using WPTouch. It would be great if it supported a mobile view. The widget format would be fine (a list of upcoming events with links).
Forum: Hacks
In reply to: Can I tell the context in which the_title() is being called?Well I did a lot of digging and came up with solutions.
One solution focused the effect of the change on the home page by wrapping the code in “is_home” – this almost works but the “recent posts” also show the effect. I could not figure out how to isolate those out.
I was able to modify the theme I was testing with (twentyten)and was successful by making the plugin a helper function instead of a filter. I didn’t like having to do it this way though. However modifying “loop.php” seems to be the only way to make sure it works.
Twentyten’s “Loop” is more complex than most. Read this article to understand it better. It displays posts differently if they are in specific categories. This is a very interesting technique and I wouldn’t have known to look for it had I not seen “loop.php” first.
The special categories aren’t automatically part of the theme, you have to add them. They are, group 1: ‘gallery’, ‘gallery category slug’, ‘twentyten’, group 2: ‘asides’, ‘asides category slug’, ‘twentyten’ and finally Group 3: is all other posts.
What I don’t get is why the “twentyten” category is listed twice.