ezs
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How to show “Parent Category: Subcategory” structure?Wow! Nice function! I ignored it. Thanks!
Forum: Themes and Templates
In reply to: How to show “Parent Category: Subcategory” structure?Thanks Kafkaesqui,
I don’t like the slash separator between Category B/Subcategory B1 but I was able to hack it editing wp-include/category-template.php at line 47:
function get_category_parents($id, $link = FALSE, $separator = ‘: ‘, $nicename = FALSE){
That return:
Category B: Subcategory B1
Would be great be able to do that by other way, for eg. a function hold at theme directory. I am not sure if it is possible. This would be better in order to make clean WP updates.
Thanks!
Forum: Plugins
In reply to: How can I change or translate the author page hierarchy?Okay. I discovered that the User Info subdir slug it’s control by the author_base string at wp-includes/rewrite.php.
Here a blogger suggest change it from “author” to another slug:
http://buzzdroid.com/wordpress/does-your-blog-have-authors-or-users/
But the codex not recommend this way at this documentation page:
http://codex.wordpress.org/Function_Reference/WP_Rewrite
“Try not to access or set the properties directly, instead use the methods to interact with the $wp_rewrite object.”
Well. I was unable to found any plugin to do that job in spite that I guess that this is surely the best method. Meanwhile someone code one, I have not chance, and I must use the direct rewrite.php setup.
What is the risk of this practice?
I hope some response. Thanks.