· 9 years ago · Oct 09, 2016, 10:24 PM
1Zarko:
2hi peter
3Zarko:
4how can I help you?
5peter:
6good morning zarko
7peter:
8the exerpt code is not showing up on the listing page
9Zarko:
10you mean [EXCERPT] shortcode?
11Zarko:
12whats your site url please
13peter:
14yes mysticangels.com.au
15Zarko:
16this product page usually just shows full description, it's not meant to show excerpt
17peter:
18ok
19peter:
20if the client want it
21peter:
22where do i put it.
23peter:
24the  [EXCERPT]  code. or is it NOT google friendly to repeat text in the pages.
25Zarko:
26you should enable custom layout form Theme setup > Page setup > Listing page
27Zarko:
28and than use it instead of [CONTENT] shortcode
29peter:
30need the content as well
31peter:
32ok get it
33peter:
34how i add a (old_price) shorde code to the page to show the old and new price for a listing
35peter:
36question were is the css for or place to add the code to it
37Zarko:
38you can use [old_price] shortcode to display old price (if it exists)
39peter:
40yes where i put it
41peter:
42or the listing page to have it show above or next to the new price .
43Zarko:
44Theme setup > Page setup > Listing page, you can put it anywhere inside content box here
45peter:
46have it show above or next to the new price .
47peter:
48u see the box  right of the images
49peter:
50see we tried to add the product no.
51peter:
52but it outside the table for id, favorites , aavabity qty: , Â and price
53peter:
54i like to show the old price in the box
55peter:
56is it the page wrap class
57peter:
58and if so where is it.
59peter:
60is it the list-group class
61Zarko:
62this is built in layout, the one that comes with the theme. If you would like to keep using this box than you would have to edit content-single-listing-product.php file and put any shortcodes in HTML. If you want to create your own layout, simply enable custom layout from Theme setup > Page setup > Listing page section in admin, you will get Textbox here where you can compose look of the product page with HTML and shortcodes
63peter:
64content-single-listing-product.php is this the page for the list-group
65Zarko:
66this is page which is part of the theme files, it's located in wp-content/themes/ST folder on server
67Zarko:
68you can access it via cpanel or FTP
69peter:
70ok
71peter:
72are the  content-single-listing-mobile and content-single-listing-shop page for
73Zarko:
74content-single-listing-shop yes
75Zarko:
76content-single-listing-mobile is for mobile
77peter:
78do i have to edit it too
79Zarko:
80no it's not required
81peter:
82ok thanks
83peter:
84do i just add the shortcode to the content-single-listing page for it to display the cod e id the right place
85peter:
86code in the right place
87Zarko:
88yes you can just add it directly in this file
89peter:
90will the file charge when you do updates
91Zarko:
92yes it will
93Zarko:
94you would have to create a child theme with this file and than it will not be affected by the updates
95Zarko:
96http://www.premiumpress.com/docs/#WHAT
97peter:
98do i add it (page ) to the child themes folder. ?
99Zarko:
100yes, entire page
101peter:
102ok
103peter:
104just edit it and upload it to the child folder .. yes
105peter:
106NOT back to the ST folder.
107Zarko:
108yes, upload it to child theme folder
109peter:
110thanks
111Zarko:
112you are welcome
113peter:
114bye for now
115Zarko: