category title edition

Posted in: Newspaper
Post count: 8

i am using newspaper 9 theme. i want to add a word “Sampleword” next to category title.

Post count: 35449

Hi,

I don’t no what you really wish, you’ll like to add after each category from category title ( https://www.screencast.com/t/WumBmHmctQ ) the word “Sampleword”, if is not that please provide more information about what you like to do, also you ca provide some screenshots.

Thank you for your understanding.

Post count: 8

not on the post.
In the category archive page. I want to add a word after the title of the category. http://www.scholarshipsads.com/uk-scholarships/ is showing title “UK” and there are many more similar categories. I want to edit the category.php so that the title becomes “UK Sampleword” for “UK” only.

Post count: 35449

Hi,

Why not change category name from “UK” in “UK Sampleword” ?
https://www.screencast.com/t/CmdTTt1F

Thank.

Post count: 8

i know this. but i have alot of categories and i want to edit them at same time as well as i want to keep actual title short.
Please tell me editing in category.php

Post count: 35449

Hi,

In order to do that please check witch category template you have set ( https://www.screencast.com/t/axN9zawmfpd ), in my case is category template 3, you need to go in wp-content\themes\Newspaper\include\category_templates and select from there the category you have set ( be notice that you can have individual category template set on some category ) , once you get there, on the line with :
<h1 class=”entry-title td-page-title”><?php echo parent::get_title(); ?></h1> insert your word (from file: https://www.screencast.com/t/KEB4pUxmGw from wp dashboard editor https://www.screencast.com/t/cajbeA4j )

See results: https://www.screencast.com/t/edEd1NsPTd
If you are using a category template from cloud template, then you need to edit the template from plugins cloud library.

Thanks.

Post count: 8

thanks .. i just did what i wanted.
Please tell me to do the same for custom taxanomy and tags

Post count: 35449

Hi,
For tags go in tag.php https://www.screencast.com/t/0SeDrmVZhP4
See results: https://www.screencast.com/t/KwwEx1dYcC3d
For taxonomy change the taxonomy.php file
Thanks.

Post count: 8

i m facing difficulty in editing the custom taxanomy in similar way. can you please elaborate further more.
Thanks

Post count: 35449

Hi,

First you need to create a custom template taxonomy, rename it and after that you need to edit it
https://www.screencast.com/t/NBz1dH5I8cA
Read about it here:
https://forum.tagdiv.com/custom-post-type-support/

Thanks.

  • This reply was modified 7 years by Calin.
Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.