Have you added any hotels to that category? Typically categories don’t show up if they are empty.
Hi Michelle,
Thanks for your reply. I did add a hotel under Hong Kong (Ashley Road Apartments) and tagged it to Hong Kong category.
Sounds like the category list may be hard-coded in your theme? It’s hard to tell what’s going wrong without seeing the code that produces that ‘Choose your city’ list at the top of each page.
Hi Michelle
I think I found the code
<div style="margin: 4px 0px 25px 0px; font-size: 18px; color: #000;"><span style="padding-right: 18px;">Choose your city:</span><span style="font-weight: 900; font-size: 20px;"><a href="http://bizstay.co.uk/product-category/london/" rel="tag">London</a> <a href="http://bizstay.co.uk/product-category/barcelona/" rel="tag">Barcelona</a> <a href="http://bizstay.co.uk/product-category/berlin/" rel="tag">Berlin</a> <a href="http://bizstay.co.uk/product-category/brussels/" rel="tag">Brussels</a> <a href="http://bizstay.co.uk/product-category/munich/" rel="tag">Munich</a> <a href="http://bizstay.co.uk/product-category/paris/" rel="tag">Paris</a></span></div>
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been damaged by the forum’s parser.]
Can you let me know how to add say Hong Kong to the list?
Many thanks,
<div style="margin: 4px 0px 25px 0px; font-size: 18px; color: #000;"><span style="padding-right: 18px;">Choose your city:</span><span style="font-weight: 900; font-size: 20px;"><a href="http://bizstay.co.uk/product-category/london/" rel="tag">London</a> <a href="http://bizstay.co.uk/product-category/barcelona/" rel="tag">Barcelona</a> <a href="http://bizstay.co.uk/product-category/berlin/" rel="tag">Berlin</a> <a href="http://bizstay.co.uk/product-category/brussels/" rel="tag">Brussels</a> <a href="http://bizstay.co.uk/product-category/munich/" rel="tag">Munich</a> <a href="http://bizstay.co.uk/product-category/paris/" rel="tag">Paris</a></span></div> href="http://bizstay.co.uk/product-category/HongKong/"
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been damaged by the forum’s parser.]
– added this one the same way as the other ones though no change
Is that in your theme? you should be able to copy one of the other city’s links, paste it at the end if the line, and edit the link/text to read Hong Kong. For instance copy
Paris
And change it to Hong Kong
You have to use the right link, http://bizstay.co.uk/product-category/hong-kong/
But if it’s not showing at all – where and how are you editing that code?
It should be:
<div style="margin: 4px 0px 25px 0px; font-size: 18px; color: #000;"><span style="padding-right: 18px;">Choose your city:</span><span style="font-weight: 900; font-size: 20px;"><a href="http://bizstay.co.uk/product-category/london/" rel="tag">London</a> <a href="http://bizstay.co.uk/product-category/barcelona/" rel="tag">Barcelona</a> <a href="http://bizstay.co.uk/product-category/berlin/" rel="tag">Berlin</a> <a href="http://bizstay.co.uk/product-category/brussels/" rel="tag">Brussels</a> <a href="http://bizstay.co.uk/product-category/munich/" rel="tag">Munich</a> <a href="http://bizstay.co.uk/product-category/paris/" rel="tag">Paris</a> <a href="http://bizstay.co.uk/product-category/hong-kong/" rel="tag">Hong Kong</a></span></div>
I am editing it in
Appearance – editor – archive product. There is no save or update button though – I think our web developers may have hidden it to prevent any updates. Probably will need to check with them.
Yep, if you can’t save the changes that’ll be a problem. 🙂 If you have developers you could ask them to add some code so that the categories are automatically listed, rather than having to be added by hand each time.
Luck!
thank you so much for your help on this one. At least I know what to do now.
All the best!