-
Notifications
You must be signed in to change notification settings - Fork 8
/
readme.md.php
35 lines (18 loc) · 968 Bytes
/
readme.md.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php if (!defined('FW')) die('Forbidden'); ?>
##STEP 1
###Copy the breadcrumbs code
This code is what displays the breadcrumbs on your website. Copy the following to your clipboard:
<code><?php if( function_exists('fw_ext_breadcrumbs') ) { fw_ext_breadcrumbs(); } ?></code>
---
##STEP 2
###Paste the breadcrumbs code in your theme
Open Appearance/Editor and select <strong>single.php</strong> file to edit.
In the theme, paste the code where you want your breadcrumbs to appear (usually beneath the the_title() tag) and then save your theme.
---
##STEP 3
###Add the breadcrumbs to your archive listings
Copy the following code to your clipboard:
<code><?php if( function_exists('fw_ext_breadcrumbs') ) { fw_ext_breadcrumbs(); } ?></code>
Open Appearance/Editor and select <strong>archive.php</strong> file to edit.
In the theme, find the place where each item is rendered and paste the code inside that code block.
Then, save your theme.