Forum Replies Created

Viewing 7 replies - 16 through 22 (of 22 total)
  • Definitely – seems Facebook’s poor documentation & support has unfortunately carried over to WordPress unfortunately

    Thread Starter rockgeek

    (@rockgeek)

    A sudo chown -R www-data /var/www/wordpress/ seems to have done it on the testing server!

    Thread Starter rockgeek

    (@rockgeek)

    Thanks – I will have a mess around with that. Any further clues how to incorporate what I need/want?

    Thread Starter rockgeek

    (@rockgeek)

    Now it’s working. All I did was delete some themes I was not using!!!

    Thread Starter rockgeek

    (@rockgeek)

    <!-- top tab navigation -->
                    <div id="tabs">
                     <ul>
                     <?php
                      if((get_option('show_on_front')<>'page') && (get_option('fusion_topnav')<>'categories')) {
                       if(is_home() && !is_paged()){ ?>
                        <li id="nav-homelink" class="current_page_item"><a href="<?php echo get_settings('home'); ?>" title="<?php _e('You are Home','fusion'); ?>"><span><span><?php _e('Home','fusion'); ?></span></span></a></li>
                       <?php } else { ?>
                        <li id="nav-homelink"><a href="<?php echo get_option('home'); ?>" title="<?php _e('Click for Home','fusion'); ?>"><span><span><?php _e('Home','fusion'); ?></span></span></a></li>
                      <?php
                       }
                      } ?>
                     <?php
                       if(get_option('fusion_topnav')=='categories') { echo preg_replace('@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i', '<li$1><a$2><span><span>$3</span></span></a>', wp_list_categories('show_count=0&echo=0&title_li='));  }
                       else { echo preg_replace('@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i', '<li$1><a$2><span><span>$3</span></span></a>', wp_list_pages('echo=0&title_li=&exclude=107,109,137,138,139,173')); }
                      ?>
                     </ul>
                    </div>
                    <!-- /top tabs -->

    This is the whole snippet of code

    I need something similar, or at least lemme know where to change it in the code.
    At the moment the links look like:

    … href=”www.site.com” title=”site”>site</a…

    but for SEO I need them to say

    … href=”www.site.com” title=”something else site”>site</a…

    Thanks!

    <div id=”blogroll”>
    <h3>Blogroll</h3>

      <?php wp_get_linksbyname(‘Blogroll’) ?>

    <h3>Christian Resources</h3>

      <?php wp_get_linksbyname(‘Christian Resources’) ?>

    </div>

    How can you get this to do automatically i.e. not having to put:

    <?php wp_get_linksbyname(‘name-of-category-here’) ?> etc etc

Viewing 7 replies - 16 through 22 (of 22 total)