google cse in a free wordpress website how to
-
i have a free wordpress website and i want to put my google custom search engine code in but don’t know how with my theme being sapor.
this is my code please help me
<script>
(function() {
var cx = ‘004774406524327604720:a1zu6xxce_a’;
var gcse = document.createElement(‘script’);
gcse.type = ‘text/javascript’;
gcse.async = true;
gcse.src = (document.location.protocol == ‘https:’ ? ‘https:’ : ‘http:’) +
‘//cse.google.com/cse.js?cx=’ + cx;
var s = document.getElementsByTagName(‘script’)[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
<gcse:search></gcse:search>The blog I need help with is: (visible only to logged in users)
-
We have code restrictions here https://en.support.wordpress.com/code/ and all JavaScript https://en.support.wordpress.com/code/#javascript we bloggers post is stripped out for security reasons.
-
re: the front page error message found on every new .wordpress.com blog
Nothing Found
It seems we can’t find what you’re looking for. Perhaps searching can help.There is nothing wrong with your site. By default the front page of the blog is the only page that will display all published posts on it. As soon as you publish a post not a page the front page error message and searchbox that appears on every new WordPress.COM blog will be gone. http://en.support.wordpress.com/post-vs-page/
I recommend using the step by step tutorial linked to the bottom of your Admin page at https://learn.wordpress.com
See also the “Video Quick Start” tutorial http://en.support.wordpress.com/video-quick-start/
The only relevant support documentation is all found at the Support link http://en.support.wordpress.com which is also linked to on the bottom of your Admin page.
See also
https://en.support.wordpress.com/five-step-blog-setup/
https://en.support.wordpress.com/five-step-website-setup/And see these support docs too:
https://en.support.wordpress.com/posts/
https://en.support.wordpress.com/pages/
https://en.support.wordpress.com/widgets/
https://en.support.wordpress.com/sharing/It can take weeks for search engines to index your site content. Please read this support doc https://en.support.wordpress.com/search-engines/ so you know we have no control over search engines positioning or appearance in the SERPs (search engine page results).
To verify blog ownership of a WordPress.com hosted blog with the major search engines you must use this process > http://en.support.wordpress.com/webmaster-tools/
Note: Even if you do not verify the blog the content will be indexed by search engines so don’t feel panicky about this please.WordPress.com automatically supplies sitemaps for our blogs to search engines – we do nothing. http://en.support.wordpress.com/sitemaps/#xml-sitemaps-for-search-engines
To gain search engine attention I recommend that you start publishing posts (not pages) https://en.support.wordpress.com/post-vs-page/ frequently. That’s because it can take weeks for search engines to index content in a new blog and/or to re-index content under a new URL.
For more information on expediting search engine indexing of your site read > http://onecoolsite.wordpress.com/2010/01/21/omg-i-cant-find-my-blog-on-google
If what’s offered by wordpress.COM does not suit you you can hire a web host http://wordpress.ORG/hosting and set up your own wordpress.ORG software install.
WordPress.COM and WordPress.ORG are completely separate and have different username accounts, logins, features, run different versions of some themes with the same names, and have separate support documentation and separate support forums. Read the differences here http://en.support.wordpress.com/com-vs-org/
If you don’t have a username account at WordPress.ORG account, then click http://wordpress.org/support/ and register one on the top right hand corner of the page that opens, https://wordpress.org/support/register.php so you can post to the support forums there.
Resetting your WordPress.ORG password http://codex.wordpress.org/Resetting_Your_Password
WordPress.org support docs are at https://codex.wordpress.org/Main_Page
- The topic ‘google cse in a free wordpress website how to’ is closed to new replies.