Forum Replies Created

Viewing 7 replies - 46 through 52 (of 52 total)
  • Thread Starter MattV

    (@mattv)

    Ok that′s very clear ??

    So far I′ve this:

    • htaccess: no option, this will cause an infinite redirect loop
    • wp databse: very risky, better not mess with it

    Would the other options be a solution? (Point 3 and 4 in my first post: a new entry in the domain mapping plugin or adding a CNAME record)

    (There are so many questions regarding this topic that I thought it would be good to cover all the options in one single thread. Also for others who′ll have the same question. I really aprictae your help!!
    – Thanks!)

    Thread Starter MattV

    (@mattv)

    I′ve moved an exisiting site from a single WP install to WP Multisite. The old URL always had the www included, like: www.domain.com

    For continuity I′d like to keep the same URL structure (with the www inluded I mean).

    If editing the DB is not a good idea, would any of the other options (htaccess/cname) be a “preferred” solution?

    Thread Starter MattV

    (@mattv)

    Thanks so much Andrea, it works now ??

    The domain mapping sub menu still doesn′t show up under the Tools menu of the subsite, but I don′t need that anyway.

    Thread Starter MattV

    (@mattv)

    Brilliant, everything is clear now. Thanks again and I′ll close this thread.

    Thread Starter MattV

    (@mattv)

    Thanks Andrea, I had that set up in mind as well but I didn′t find anything about that approach in the forums, so that′s why I started to ask myself it was a good idea.

    Only version 1.2 of Options Theme will break when upgrading to WordPress 2.8 – version 1.3 works just fine

    Here′s an official fix for v1.2 provided by Justin in the Hybrid Forums:

    Change this code in /app/options.php:

    function op_all_cats() {
    	$all_cats = get_all_category_ids();
    	foreach($all_cats as $key => $value) :
    		$all_cats[$key] = get_cat_name($all_cats[$key]);
    		$all_cats[$key] = str_replace("&", "&", $all_cats[$key]);
    		$all_cats[$key] = str_replace("&","&", $all_cats[$key]);
    	endforeach;
    	$all_cats['none'] = false;
    	return $all_cats;
    }

    To:

    function op_all_cats() {
    	$cats = get_categories();
    	foreach ( $cats as $cat ) :
    		$return[] = $cat-> name;
    	endforeach;
    	$return[] = false;
    	return $return;
    }

    Be aware that Options Theme has been discontinued, so sooner or later it just won′t work anymore as WP keeps on rolling out new features.

    Consider joining the Hybrid Theme club. It′s a great theme and has a very active support community: https://themehybrid.com/

    Hi all,

    Just a warning: be aware that this theme contains Google Analytics tracking code. This means that the owner of that account can check the statistics of every website that has this theme installed.

    To remove the tracking code, do the following:

    1. Open the footer.php file in the wpesp-portfolio theme folder
    2. Scroll down to the bottom and select the following code:
      <script type="text/javascript">$(document).ready(function(){$.getScript('https://www.google-analytics.com/ga.js',function(){if (typeof(_gat) == 'object'){var pageTracker = _gat._getTracker('UA-6031180-2');pageTracker._initData();pageTracker._trackPageView();} });});</script>
    3. Delete it :))

    I left a comment onthe theme author′s blog 3 weeks ago about this issue, but it was never published.

    Anyway, it′s a great theme, so don′t let this stop you from using it!!

Viewing 7 replies - 46 through 52 (of 52 total)