Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello!

    I have the same problem. The widget with related posts disappeared. I reinstalled the pluggin, but they still don’t appear.
    My website is:
    http://mart-studio.com

    Thanks for any help

    Thread Starter kozzo

    (@kozzo)

    First, open your collapse.js, you’ll have to use a texteditor + ftp for this, as you cant edit it from the wordpress CMS.
    Duplicate the line which contains “categories”.
    Change “categories” to something else of your choice, but use it consistently from this point. I used the keyword “kontor” as that is the links name in the menu.

    Then go through your style.css file and search for “categories”, add your keyword here, in the same way that “categories” is written.

    #categories ul li, #archives ul li {
     would become
     #categories ul li, #archives ul li, #kontor ul li {
     Now edit your header.php
     I added a line for "kontor" like this:
     <li><a href="#" rel="toggle[categories]" title="">Kategorier</a></li>
     <li><a href="#" rel="toggle[kontor]" title="">Kontor</a></li>
     <li><a href="#" rel="toggle[archives]" title="">Arkiv</a></li>
     And then a whole new div for the actual menu:
     <div id="kontor">
     <ul class="mcol2">
     <?php
     $data = wp_list_categories('echo=0&title_li=&depth=1&hide_empty =0&orderby=ID');
     $data = preg_replace('/\<\/a\> \((.*)\)/',' <span>$2</span></a>',$data);
     echo $data;
     ?>
     </ul>
     </div>

    Thread Starter kozzo

    (@kozzo)

    oops. once again

    First, open your collapse.js, you’ll have to use a texteditor + ftp for this, as you cant edit it from the wordpress CMS.
    Duplicate the line which contains “categories”.
    Change “categories” to something else of your choice, but use it consistently from this point. I used the keyword “kontor” as that is the links name in the menu.

    Then go through your style.css file and search for “categories”, add your keyword here, in the same way that “categories” is written.
    #categories ul li, #archives ul li {
    would become
    #categories ul li, #archives ul li, #kontor ul li {
    Now edit your header.php
    I added a line for “kontor” like this:

    <li><a href="#" rel="toggle[categories]" title="">Kategorier</a></li>
    <li><a href="#" rel="toggle[kontor]" title="">Kontor</a></li>
    <li><a href="#" rel="toggle[archives]" title="">Arkiv</a></li>
     And then a whole new div for the actual menu:
     <div id="kontor">
     <ul class="mcol2">
     <?php
     $data = wp_list_categories('echo=0&title_li=&depth=1&hide_empty =0&orderby=ID');
     $data = preg_replace('/\<\/a\> \((.*)\)/',' <span>$2</span>',$data);
     echo $data;
     ?>
    
     </div>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]

    hello, I also wonder if I can make my posts relative by tags. Are there any news?

Viewing 4 replies - 1 through 4 (of 4 total)