Glenn Mulleners
Forum Replies Created
-
Forum: Plugins
In reply to: [Google Content Experiments] Can't put code on pageCould you please tell me the link to the page you’re trying to use the code on? Thanks!
Forum: Plugins
In reply to: [Google Content Experiments] Testing Different ThemesHi Shaun,
Well, since it’s called Google Content Experiments, the main purpose would be to test content.
You could try to work with page templates. Create two templates and do some minor changes (for example the color of an element). Then setup two pages in WordPress and select the appropriate template for each page.
Now setup a content experiment and you should be good to go.
(Note: this is not for beginners since this method required knowledge of CSS/HTML/PHP to create the page templates).
Forum: Plugins
In reply to: [Google Content Experiments] Testing Different ThemesHi Shaun,
I don’t know if/how it’s possible to test different layouts with Google Content Experiments.
This plugin only allows specific posts/pages/custom post types to be tested and not the design of a whole website.
Forum: Plugins
In reply to: [Google Content Experiments] Cpde isn't added to pageI checked your webpage today and see that the content experiment code is added. I guess this topic is resolved, if not please let me know.
Forum: Plugins
In reply to: [Google Content Experiments] Cpde isn't added to pageDid you edit your theme to include the code
<?php do_action( 'wpe_gce_head' ); ?>
(as described in the Installation)?Forum: Plugins
In reply to: [Google Content Experiments] Google doesn't find the codeI now see the code appearing in the source code, did you solve the issue?
Forum: Plugins
In reply to: [Google Content Experiments] Google doesn't see the codeIt looks like you’re using WP Minify. This plugin is probably inserting the additional code into the Google Content Experiments code. Could you disable the WP Minify plugin and see if the /*<![CDATA[*/ and /*]]>*/ disappear from the source code. Maybe you can get the page validated then.
(I also don’t see the content experiment code appearing in the source code anymore.)
Which error message did you exactly get from Google?
Forum: Plugins
In reply to: [Google Content Experiments] Handmatig code toevoegen aan OptmizepressI don’t know if it is still correct for the most recent version of OptimizePress, but you could have a look at the following files:
- header.php
- header-blogheader.php
- header-myheader.php
Forum: Plugins
In reply to: [Google Content Experiments] Handmatig code toevoegen aan OptmizepressOptimizepress is a commercial theme. It is not available to the public for free. I don’t have access to the (most recent) theme files so I can’t tell you which files you should edit.
Could you please tell me:
- Which theme are you using?
- What code did you exactly add and where (which file and where in the code)?
- Maybe it’s a caching problem, are you using any caching plugins or did you try to clear the browser’s cache?
- What is the url to the page?
Forum: Plugins
In reply to: [Google Content Experiments] Google doesn't see the codeMaybe remove the following parts from the experiment code since I guess they should not be there (although they are comments):
/*<![CDATA[*/
and
/*]]>*/
Upgrading your WP should resolve the issue. Please see the FAQ:
The function wp_get_theme exists since WordPress 3.4.0. Try to update to the latest version of WordPress and see if that resolves the issue.
Forum: Plugins
In reply to: [Google Content Experiments] Experiment Code No Longer IncludedI see you’re using WP 3.5. Did you update your theme recently and maybe forgot to edit the theme to include the action hook?
Forum: Plugins
In reply to: [Google Content Experiments] Error When Viewing Pages with Experiment CodeOn wp-includes/pluggable.php (line 881) the wp_redirect is performed:
header("Location: $location", true, $status);
Apparently there already is some output before wp_redirect is executed. I don’t know if this is the most beautiful option and if it will work, but let’s try this:
In google-content-experiments.php:- Place
ob_start();
between*/
andif ( !defined('WPE_GCE_PATH') )
- Place
ob_end_flush();
right before the closing?>
Forum: Plugins
In reply to: [Google Content Experiments] wordpress homepageSince te code is added to post, page or custom post type entry it is not possible to test the homepage if it contains an overview of entries.