I can not find the ID in admin pannel
I can not find the ID in admin pannel
What do you mean by the ID?
category IDs
what themes you use ?
Hover over the categories in manage categories. In the status bar at the bottom of your browser you will see something like ID=1 in the address. This is the ID number of a category. In the example above it would be 1.
Theme: Arthemia
I do not understand this text
3.To show the category bar in the front page properly, you have to put the correct category IDs to this line in the index.php file:
<?php $display_categories = array(5,6,7,8,11); $i = 1;
foreach ($display_categories as $category) { ?>
Notice that 5, 6, 7, 8, and 11 are the IDs of the category to be shown in the category bar.
you should go to your Themes Editor then edit "index.php" and paste this code
<?php $display_categories = array(5,6,7,8,11); $i = 1;
foreach ($display_categories as $category) { ?>
before line 5,6,7,8,11 line
before you edit index.php you chmod 777 index.php from the FTP or SSH .
regards
I put this code in edit themes and changed the chmod. And as usual
I do not understand this text
3.To show the category bar in the front page properly, you have to put the correct category IDs to this line in the index.php file:
<?php $display_categories = array(5,6,7,8,11); $i = 1;
foreach ($display_categories as $category) { ?>
Notice that 5, 6, 7, 8, and 11 are the IDs of the category to be shown in the category bar.
so delete
<?php $display_categories = array(5,6,7,8,11); $i = 1;
foreach ($display_categories as $category) { ?>
and chmod 644 your index.php
about that themes its been different from theme to default wordpress theme ...
try to contact themes founder .
regards
...you should go to your Themes Editor then edit "index.php" and paste this code
That does not sound quite right. I think that may already be present in the themes index.php
What this appears to mean in the Arthemia theme.:
To show the category bar in the front page properly, you have to put the correct category IDs to this line in the index.php file:
<?php $display_categories = array(5,6,7,8,11); $i = 1;
foreach ($display_categories as $category) { ?>
Notice that 5, 6, 7, 8, and 11 are the IDs of the category to be shown in the category bar.
Get your category ID's by doing this:
Hover over the categories in manage categories. In the status bar at the bottom of your browser you will see something like ID=1 in the address. This is the ID number of a category. In the example above it would be 1.
...as equaldesign instructed. Once you have those numbers, substitute them for the "5,6,7,8,11" mentioned above. That will make the category bar show up on the front page of the theme.
These appear to be instructions from the theme author's site.
Thanks for the hover tip equaldesign.
@equaldesign: You're the best! Couldn't have fixed it without you =)
This topic has been closed to new replies.