How to get category IDs and translate the pagination
Permalink Browser Info Environment
Hello,
I´m finishing a blog with Problog and am unable to write the unique URLs for each category. I can access it, but can´t link to it inside the blog.
Here´s two posts URLs:http://dev.moneyguru.com.br/blog/2014/03/festa-ostentacao-nao/...
http://dev.moneyguru.com.br/blog/2014/03/o-site-chines-que-virou-fe...
(Where it reads 'Todos os posts do NomedoBlog' just above the navigation bar, I would like to replace NomedoBlog with the actual category name and point the link to category URL)
And I also would like to know which files I have to edit to translate the pagination labels (from Previous and Next to Anterior e Próxima, in portuguese). I have already searched all the files and edited all search results but the page is still rendering it in english.
I´m finishing a blog with Problog and am unable to write the unique URLs for each category. I can access it, but can´t link to it inside the blog.
Here´s two posts URLs:http://dev.moneyguru.com.br/blog/2014/03/festa-ostentacao-nao/...
http://dev.moneyguru.com.br/blog/2014/03/o-site-chines-que-virou-fe...
(Where it reads 'Todos os posts do NomedoBlog' just above the navigation bar, I would like to replace NomedoBlog with the actual category name and point the link to category URL)
And I also would like to know which files I have to edit to translate the pagination labels (from Previous and Next to Anterior e Próxima, in portuguese). I have already searched all the files and edited all search results but the page is still rendering it in english.
Type: | Discussion |
---|---|
Status: | New |
Oh, a programmer and I just figured it out how to print the category ID
and then:
The other 2 questions are still open to solve.
<?php $categoryName = $blogify->getBlogVars($c)['cat']; $blogURL = '/blogsearch/categories/'.str_replace('+','_',urlencode($categoryName)); ?>
and then:
<a href="<?=$blogURL?>" class="backCategory">Todos os posts do <?=$categoryName?></a>
The other 2 questions are still open to solve.
Thanks!