-
AuthorPosts
-
April 21, 2016 at 7:53 pm #619330
Hi
I need to hide the logo and header elements but i need to display the breadcrumb somewhere in the page, so i’m looking for some shortcode for that so i can insert it anywhere in the page.I didt what it says here:
Also i went to look for this
Please go to Appearance > Editor and open functions-enfold.php file and add following code right after closing of ‘//advanced title + breadcrumb function’ function
And i dont know where exactly to pus the code : add_shortcode( ‘bread_crumb’, ‘avia_title’ );
I went to the end of that function } and added itBut it doesnt show anything
Thank you- This topic was modified 8 years, 8 months ago by hdpcr.
April 21, 2016 at 8:43 pm #619354Hey hdpcr!
can we please check your web site and what u have added?
Thanks a lotCheers!
BasilisApril 21, 2016 at 9:15 pm #619370Sure what do you need?? Admin credencials?
Her you go- This reply was modified 8 years, 8 months ago by hdpcr.
April 21, 2016 at 9:59 pm #619402Hey!
Please take a look at the following
and let us know if you understand how to use it and if it works
Best regards,
BasilisApril 21, 2016 at 10:12 pm #619412Hi
I already went there as you can see in my previous message and didt what it says there and nothing
I have doubt about whrere exactly to add : add_shortcode( ‘bread_crumb’, ‘avia_title’ ); and where to add [bread_crumb]
I assume that this: [bread_crumb] would be shotcode in the page or post.
as you ave credentials you can see that i have edited what it say in that post as you said and nothingThank you
- This reply was modified 8 years, 8 months ago by hdpcr.
April 25, 2016 at 12:58 pm #621237Hi!
I have difficulties to understand you (and your english). Use this
add_shortcode( ‘bread_crumb’, ‘avia_title’ );
inside your functions.php and the other one like
[bread_crumb]
inside your page/post as you’ve already said.
Best regards,
AndyApril 25, 2016 at 5:59 pm #621553Hi
Sorry, i did not notice my keyboard was not working fine.
What i meant is that I followed the documentation instructions exactly as it says but it does not work.
In the documentation it says to add: add_shortcode( ‘bread_crumb’, ‘avia_title’ ); in functions-enfold.php right after closing of ‘//advanced title + breadcrumb function’ function, but i don’t know where it closes exactly (witch line).
Then it says: Then add breadcrumbs using following shortcode [bread_crumb]. i guess into a page or post to insert breadcrumbs right??
Then i opened Enfold/template-builder.php and commented as it says
//check if we want to display breadcumb and title
//if( get_post_meta(get_the_ID(), ‘header’, true) != ‘no’) echo avia_title();
So now you are saying to use this:
add_shortcode( ‘bread_crumb’, ‘avia_title’ ); AND [bread_crumb] inside functions.php ?? (so not into functions-enfold.php)
Also once its working how to insert breadcrumbs into a page or post?Thank you
I hope my English now is good enough to undersandApril 25, 2016 at 11:00 pm #621762Hey!
I applied the changes – http://kriesi.at/documentation/enfold/inserting-breadcrumbs-as-shortcode/ on your installation and created a private testing page. Please review your website now
Best regards,
YigitApril 26, 2016 at 1:27 am #621811HI Yigit
Thank you very much for you help
April 26, 2016 at 4:35 am #621852HI
What you did works perfect as long as i dont hide Title and breadcrumbs. My idea to insert a breadcrumb manually as short code is to be able to apply fonts sizes and colors and not have the typical breadcrumb in small text (please see the page where i did it manually)
In my pages i have to hide almost all headers and so as i have 4 different logos according to the branch of the business witch i insert manually according to the page. That’s why i’m looking for breadcrumb that i can insert and change fonts etc.. according to the page. Not sure if possible.Thank you
April 26, 2016 at 1:46 pm #622106Hi!
I just followed the instructions on the documentation page we posted. Nothing extra :)
As mentioned on the documentation, you can copy the whole function from the file to functions.php file of your child themeBest regards,
YigitApril 26, 2016 at 6:04 pm #622368Hi
Thank you for your reply. I’m kind of stuck. It works as long as i dont select hide breadcrumbs option in Layout, I thought i can hide the header breadcrumb and insert it inside the page in a color section and with fonts etc.. so i will match my page layout. so not sure if possible to do that.
Thank you
April 26, 2016 at 6:24 pm #622384Hey!
Would you just like to display page title above your content?
Best regards,
YigitApril 26, 2016 at 6:45 pm #622407Hi
I would link to display You are here/…/… in a color section like the page bellow (Its just manual what i did)
Thank you
April 29, 2016 at 12:51 pm #624342Hi,
I have created a private testing page (linked in private content field below) and added custom CSS code to bottom of Quick CSS field. Please review your website now
Best regards,
YigitApril 29, 2016 at 5:08 pm #624661Hi Yigit
I saw the added custom code and the test page its almost what i want its just there is no space between the words and the slash and the slash almost doesnt show up.Thank you
May 3, 2016 at 3:46 am #626127Hi,
I’m sorry but the breadcrumb you’re after is more complex than we expected. You can contact codeable to create a custom breadcrumb plugin: http://kriesi.at/contact/customization
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.