SEO Question
WordPress theme dedicated to start-up websites with amazing CSS3 animated icons, price tables and parallax effect background.
- GK User
- Thu Apr 18, 2013 11:18 pm
Just installed Simplicity with demo content and I was wondering how it handeled SEO for the home page with the use of widgets only. Sorry I am new to your products with a fully wigitised home.
-
- Fresh Boarder
- GK User
- Fri Apr 19, 2013 12:22 am
To answer my own question. Theme SEO settings handle the homepage widgets and each additinal post/page as its own title and description.
Is this theme compatable with other seo plugins such as yoast?
Is there a setting to get the policy bar at the bottom?
Custom CSS box?
Is this theme compatable with other seo plugins such as yoast?
Is there a setting to get the policy bar at the bottom?
Custom CSS box?
-
- Fresh Boarder
- GK User
- Fri Apr 19, 2013 7:47 am
Hi,
You can use any SEO plugin - just please remember to disable in the Theme settings on the SEO tab usage of the GavernWP SEO settings, which overrides the title tag and meta tags.
If you need to get some bar on the bottom, you can use footer code option in the theme Layout settings. (and then please enable override.css file in the Advanced settings to put your own CSS code to style this bar).
You can use any SEO plugin - just please remember to disable in the Theme settings on the SEO tab usage of the GavernWP SEO settings, which overrides the title tag and meta tags.
If you need to get some bar on the bottom, you can use footer code option in the theme Layout settings. (and then please enable override.css file in the Advanced settings to put your own CSS code to style this bar).
-
- Administrator
- GK User
- Fri Apr 19, 2013 9:13 am
Great thank you dziudek, are you willing to share the code you used to generate your footer banner with the text below:
"GavickPro website uses cookies. By continuing to use this website, you are giving consent to cookies being used. For more information visit our Cookie policy."
"GavickPro website uses cookies. By continuing to use this website, you are giving consent to cookies being used. For more information visit our Cookie policy."
-
- Fresh Boarder
- GK User
- Fri Apr 19, 2013 2:28 pm
This is CSS:
and it is the HTML:
- Code: Select all
/* Cookie Law */
#gk-cookie-law { background: #E55E48; bottom: 0; color: #fff; font: 400 16px/52px 'Open Sans',sans-serif; height: 52px; left: 0; margin: 0!important; position: fixed; text-align: center; width: 100%; z-index: 10001; }
#gk-cookie-law span { display: inline-block; max-width: 90%; }
#gk-cookie-law a { color: #fff; font-weight: 600; text-decoration: underline}
#gk-cookie-law a:hover { color: #222}
#gk-cookie-law a.gk-cookie-law-close { background: #c33c26; color: #fff; display: block; float: right; font-size: 28px; font-weight: bold; height: 52px; line-height: 52px; width: 52px;text-decoration: none}
#gk-cookie-law a.gk-cookie-law-close:active,
#gk-cookie-law a.gk-cookie-law-close:focus,
#gk-cookie-law a.gk-cookie-law-close:hover { background: #282828; }
@media (max-width: 1280px) { #gk-cookie-law { font-size: 13px!important; } }
@media (max-width: 1050px) { #gk-cookie-law { font-size: 12px!important; line-height: 26px!important; } }
@media (max-width: 620px) { #gk-cookie-law { font-size: 11px!important; line-height: 18px!important; } #gk-cookie-law span { max-width: 80%; } }
@media (max-width: 400px) { #gk-cookie-law { font-size: 10px!important; line-height: 13px!important; } }
and it is the HTML:
- Code: Select all
<p id="gk-cookie-law"><span>GavickPro website uses cookies. By continuing to use this website, you are giving consent to cookies being used. For more information visit our <a href="http://www.gavick.com/cookies.html">Cookie policy.</a></span> <a href="#close" class="gk-cookie-law-close">×</a></p>
-
- Administrator
- GK User
- Fri Apr 19, 2013 6:33 pm
Thanks have a great weekend
-
- Fresh Boarder
- GK User
- Mon Jul 15, 2013 12:57 pm
Hi the code in wordpress works but I cannot get the bar to close using the cross on the right. Any idea?
-
- Fresh Boarder
- GK User
- Mon Jul 15, 2013 5:05 pm
You're right - I forgot about the script:
- Code: Select all
<script type="text/javascript">
function gkCreateCookie(name,value,days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}
jQuery(document).ready(function() {
if(jQuery(document).find(\'#gk-cookie-law\')) {
jQuery(document).find(\'#gk-cookie-law a\').each(function(i, el) {
el = jQuery(el);
el.click(function(e) {
// for both links
gkCreateCookie(\'gk-demo-cookie-law\', \'1\', 365);
if(jQuery(e.target).attr(\'href\') == \'#close\') {
e.preventDefault();
jQuery(document).find(\'#gk-cookie-law\').remove();
} else {
window.location.href = jQuery(e.target).attr(\'href\');
}
});
});
}
});</script>
-
- Administrator
- GK User
- Mon Jul 15, 2013 6:14 pm
Whats the best place to put this javescript?
-
- Fresh Boarder
- GK User
- Mon Jul 15, 2013 6:22 pm
You can put it in any existing JS file.
-
- Administrator
- GK User
- Mon Jul 15, 2013 7:05 pm
I have put it in the header and three js files, still no luck - the banner will not close
-
- Fresh Boarder
- GK User
- Tue Jul 16, 2013 2:52 pm
Did you refreshed the browser cache? Maybe browser still loads old files with the old code version?
-
- Administrator
- GK User
- Thu Jul 18, 2013 1:38 pm
yes I refreshed the browser cache but still no luck
-
- Fresh Boarder
- GK User
- Thu Jul 18, 2013 1:53 pm
Please provide an URL to your website - without it I won't be able to help.
-
- Administrator
- GK User
- Sat Jul 20, 2013 10:15 am
-
- Fresh Boarder
- GK User
- Sat Jul 20, 2013 2:20 pm
The code was placed correctly but I've forgot to remove escaping for the apostrophes - my apologize, below there is the correct version of the code:
- Code: Select all
<script type="text/javascript">
function gkCreateCookie(name,value,days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}
jQuery(document).ready(function() {
if(jQuery(document).find('#gk-cookie-law')) {
jQuery(document).find('#gk-cookie-law a').each(function(i, el) {
el = jQuery(el);
el.click(function(e) {
// for both links
gkCreateCookie('gk-demo-cookie-law', '1', 365);
if(jQuery(e.target).attr('href') == '#close') {
e.preventDefault();
jQuery(document).find('#gk-cookie-law').remove();
} else {
window.location.href = jQuery(e.target).attr('href');
}
});
});
}
});</script>
-
- Administrator
- GK User
- Mon Jul 22, 2013 9:52 am
Different problem now, the bar closes (thank you) but reappears every time you go to another page on the site or come back again.
-
- Fresh Boarder
- GK User
- Mon Jul 22, 2013 11:39 am
Please try to change the HTML code to:
- Code: Select all
<?php if(!isset($_COOKIE['gk-demo-cookie-law'])) : ?>
<p id="gk-cookie-law"><span>GavickPro website uses cookies. By continuing to use this website, you are giving consent to cookies being used. For more information visit our <a href="http://www.gavick.com/cookies.html">Cookie policy.</a></span> <a href="#close" class="gk-cookie-law-close">×</a></p>
<?php endif; ?>
-
- Administrator
- GK User
- Tue Jul 23, 2013 9:23 am
No still keeps on comming back
-
- Fresh Boarder
- GK User
- Tue Jul 23, 2013 3:50 pm
So in this case please search for any other Cookies plugin.
-
- Administrator
- GK User
- Fri Jul 26, 2013 9:48 am
Thanks for your help dziudek
-
- Fresh Boarder
21 posts
• Page 1 of 1