I am trying to add a few widgets linked to external websites on a Google Blogger page. I am adding these widgets into Blogger Gadgets on the sides of the page.
When I copy and paste the widget code into the gadget and then hit save I notice that there is a "/" being added in certain places in the code. In one instance this is keeping the widget from updating with new information and for another widget I think it is keeping the widget from updating properly.
An example is "img src="http://www.hamqsl.com/solarn0nbh.php?image=random" /". The "/" at the end is not there when I place the code in the gadget. After I save it and look at it again the "/" is there. This is keeping the widget that this code links to from ever updating. The widget maker even advises against placing special characters into the code to prevent this issue.
How can I stop these "/"s from being added? I asked this question on the Blogger help forum but was directed here.
Thanks,
Chris
Related
I have recently started a Blog, The blog is made using Blogger, Then I thought of preparing my site to show ads and then I created a Adsense account and then in the sites section I had given the URL of My Blog and after some days I saw the sites section and there was written that needs attension, Then I clicked on it and I found that there was wriiten a Notice and a code which I have pasted below :-
Copy and paste this code in the HTML of your site, between the and tags.
Your AdSense code
<script data-ad-client="ca-pub-4836518523777258" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
Now I am Confused That where I have to add this code, In my blog theme's HTML which I have installed currently or some where else can someone tell me.
You have actually to connect Blogger to Google AdSense. They have a direct connection, you don't need to add any code.
If you already have Google AdSense
Go to the Earnings Tab on Blogger (top bar, in the dropdown)
Link Your AdSense Account to your Blogger Account there
Specify Where to Display AdSense, you'll have there 3 places to choose from
Go to Your Blog Layout (left menu, "Layout")
Add the AdSense Gadget
Done! You have now ads
Gday
I like to know how you would go about creating a home page in plain html and have WordPress run the other pages?
The reason is I’d like to create a solely plain html website but I need WordPress for my contact page it has a large form on it and I use a plugin to generate it and forms are a bit beyond my knowledge at the moment to create a contact page myself.
(I have tried creating a template page but then WordPress adds unnecessary code [from plugins ] and makes the AMP invalid)
Honestly I'd try and keep it self contained in WordPress itself.
If for some reason you really want a separate HTML/PHP Homepage, follow these steps:
Add a my-homepage.php file to your /wp-content/themes/ACTIVE-THEME directory
Inside that file put the following code:
Add a new page (Pages > Add New)
Give it a recognizable name like "My Homepage"
In the "Template" selector on the right hand side, pick "My HTML Homepage" and click Publish
Go to Settings > Reading, change Your homepage displays to A static page and pick the page you just made
Now you can add your own code as you see fit. Nothing "WordPress" related will get loaded or hooked in since there's no functions on that file - so you're free to code HTML (or PHP) to your heart's content.
You can see a bit more indepth answer over on WPSE: https://wordpress.stackexchange.com/questions/296592/how-to-use-custom-html-file-instead-of-wordpress-homepage
I have a blogger.com blog that covers a variety of topics, including PC troubleshooting tips. I've decided to start a dedicated PC troubleshooting blog, using a different blogging service. I want to move some of those PC troublehshooting posts from the old blog to the new blog. I want people who end up at the old posts via search engines to be automatically redirected to the posts on the new blog.
I know I can easily redirect the entire blog to an external blog, but I don't want that. I want to preserve the old blog, but just relocate some of its posts to the new one.
I know I can redirect individual blogger.com pages to other pages within the same blog, but I don't want that either. I want to redirect to an external URL.
I can add html code to blog posts in blogger, but I think it only accepts code that goes into the {body} section. Perhaps my problem boils down to two questions:
is there a way to edit the {head} section of a blog post without doing it for the entire blog?
is there a way to do an automatic redirect using code that you put in the {body} section?
It wouldn't be a 301 redirect, but you could put this code inside your body:
<script type="text/javascript">
window.location = "http://myblog.blogger.com/mypost";
</script>
Use pages gadget for a proper search engine friendly 301 redirect. Go to layout > click pages gadget (or add it if you are not already using it) and edit it to simple add external page to your menu. The only caveat is that it will become a part of the menu and will not be a hidden redirect which you can only manually post in links.
I wanted to try out Linkwithin, a widget to show related posts underneath each post, to see how it looks like and stuff. On the Linkwithin website you can install the widget by clicking on a link which directed you to Blogger. I added the widget to my blog.
Now I would like to get rid of it, but on the Linkwithin website it's stated NOWHERE how to remove Linkwithin! So I tried deleting the widget but it wasn't showing up. So I went to the HTML source code and wanted to delete it straight from there, but I simply can't find it...
Does anyone know how to get rid of it, or can find it in the code?
Website is www.wldhrts.com
Many thanks!
You need to remove that widget from your blog. It's the first widget on your right sidebar (just above the search box).
Move to
Blogger >> template >> edit Template >>
Search for 'id='HTML2' it's the widget holding your linkwithin code. You should be able to find code like
<b:widget id='HTML2' locked='false' title='' type='HTML'>...</b:widget>
Remove the whole widget.
you can alternatively set nRelate on your Blog which is way better then LinkWithin.Here is the link of complete post explaining every process step by step. nRelate also offer you to earn some money by showing ads on your Blog or website.
http://sarcaassm.blogspot.com/2014/02/setup-nrelate-widget-to-your-blog.html
it is not always 'HTML2'. it depends upon where you have it. just try to reinstall it from linkwithin site, you will see codes, see what are they, note down on notepad and then search them in tempelate and remove. that will only work super fast. you may also like 'how to remove it only from blogger home'
I want to use all the photos in a Flickr set and in order to do so (and not infringe upon copyright etc) have to link back to the owner. I can't seems to find anything in the Flickr API to return the html code for each individual photo.
At present I'm faced with copying and pasting all the html code from the "share" button. Not a pleasant prospect.
Any help appreciated
I'm assuming you just want a link back to the images or photosets?
See here: http://www.flickr.com/services/api/misc.urls.html
There are examples for linking to images directly, individual photos, photosets, etc.