Menaka S. on "[Theme: Customizr] Editing Archive/Category Pages"

ساخت وبلاگ

Hi,

I'm new to all of this and I'm not 100% sure what I'm doing... I want to edit the category/archive pages on my site.

1. I don't want to show the path, eg. "Home >> Food" there was an option for this for all of the other pages but not these ones.

2. I don't want to show the folder icon.

3. I want to add a paragraph of text below the title but before the post grid.

Please help.

Hi,

1. You can switch of the breadcrumbs (Home >> Food) by going to Content->Breadcrumb from customiser panel and unchecking
Display Breadcrumb
2. From customiser panel, go to Global settings->Titles icons settings and uncheck against Display icons next to titles
3. For this purpose, you will have to create a child theme. Do follow this http://docs.presscustomizr.com/article/24-creating-a-child-theme-for-customizr and create a child theme. After that, I shall give the code for adding text below title.

Thank you!!

I have created the child theme. What do I do now?

Hi,
Add this to your child theme's functions.php

add_action('__after_header','my_para_of_text');
function my_para_of_text() { echo '<div class="container"><p>My little paragraph of text</div>';
}

Thank you for the help, however, the text is coming in between the header and the title, not below the title.

It's also present on every page, can I make it so that the writing is different dependant on the page?

Your help is very much appreciated.

Please post your site url

It's very much WIP but:

a-shaw-thing.co.uk

Menaka S.
Member
Posted 14 minutes ago #

Is this on front-page?
Where is the title here?
Are you referring to the featured pages or the slider?

- - , .
.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 269 تاريخ : دوشنبه 21 تير 1395 ساعت: 12:50