Community Forums › Forums › Archived Forums › Design Tips and Tricks › Where to add DMCA Badage script in Magazine Pro theme.
Tagged: DMCA, magazine pro theme
- This topic has 8 replies, 4 voices, and was last updated 8 years, 1 month ago by Doug Edgington.
-
AuthorPosts
-
March 16, 2016 at 11:11 am #181561rajkumarsmMember
I would like to display DMCA Badage in the footer of my website. http://www.softwaretestingmaterial.com
Actually I have added the script in the footer widget. DMCA was not approved my site and I have contact support team. I was told that I have to add this script in the header.php
Its not recommended to edit header.php right?
Could any one help me to rectify this issue.
http://www.softwaretestingmaterial.comMarch 16, 2016 at 3:57 pm #181593TomParticipantTo add a script to the header of every page:
Dashboard > Genesis > Theme Settings > Header and Footer Scripts > Header Scripts
("This code will output immediately before the closing</head>
tag in the document source.")
Choose your next site design from over 350 Genesis themes.
[ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]March 16, 2016 at 11:12 pm #181613ChristophMemberHi,
in the WordPress Dashboard go to Genesis - Theme Settings - Header and Footer Scripts - Header Scripts
Paste your script in the text field and click "Save Settings"
March 17, 2016 at 12:58 am #181620Doug EdgingtonMemberThere is no header.php file in your Genesis child theme. Do you need to put the badge in the site header? Or are they telling you that you need to insert an additional script within the head tag?
Doug Edgington
http://www.dougedgington.comMarch 17, 2016 at 1:01 am #181621Doug EdgingtonMemberAre they telling you that you need to add the badge image to the header of your site? Or are they telling you that you need to add an additional script to the head tag?
Doug Edgington
http://www.dougedgington.comMarch 17, 2016 at 10:02 am #181706rajkumarsmMemberHi Tom & Christoph,
Thanks. Actually I added at genesis theme settings - header/footer scripts - header and footer scripts but the logo is displaying above my blog title and below my theme footer credit links respectively. So I have added the script in text widget (footer 2). I got a reply form DMCA customer support to add the script in header.php
Hi Doug,
Thanks. They asked me to add it in the header.php.
kindly see the conversation which i had with DMCA Support:
Hello Manikanta,
I was checking your website and it appears that you are using WordPress. Please add the following code on your website's source code and let me know so I can check if it was added successfully.<a>" title="DMCA.com Protection Status" class="dmca-badge"> <img src="//images.dmca.com/Badges/DMCA_badge_grn_80w.png?ID=8d1b47eb-be86-487e-a65a-715dcfb7f0b0" alt="DMCA.com Protection Status" /></a>
Thanks,
DiazHi Diaz, I have copied the code which you have given. Could you please verify and let me know the status. Thanks in advance. Rajkumar SM
Hello Manikanta,
I have checked your website and I have noticed that you have added the badge but it not added in the actual WordPress source code. Please add the code directly to the WordPress code and let me know so I can check.
Thanks,
DiazHi Diaz, I didnt get you. Adding in the wordpres source means? I am using Genesis theme. I can't make any changes in the source files. Right now I have added badge using wordpress footer widget. Kindly give me more information. Thanks. Rajkumar SM
Go to Appearance > Editor -- then you get an editing box and on the right side of the page is a list of templates. Find the appropriae file to edit example: Header header.php - click on it. Now you have to the source code. Please add the badge provided there.
Then click Update File.Hello there,
I have checked your website and it still hasn't been inserted correctly. Can you please provide me with a screenshot of where you have added it. You can use lightshot.
Thanks,
DiazThanks,
Rajkumar
http://www.softwaretestingmaterial.comMarch 17, 2016 at 10:18 am #181711Doug EdgingtonMemberSorry for the previous double-post. My posts were not showing up for some reason.
Not sure why they are telling you that it has to be in the actual source code. As long as the badge is on the site it should not matter. header.php is not available to you within your Genesis child theme. It is part of the Genesis Framework, which you do not want to edit.
You are using the Magazine Pro theme which has a header right widget area, unless it was disabled by whoever set your theme up. You could add it here, but you have your logo centered. So you would likely need to do some styling. If you don't have the header right widget area available to you, you could re-enable it or add the snippet via a hook.
Doug Edgington
http://www.dougedgington.comMarch 17, 2016 at 11:24 am #181718rajkumarsmMemberHi Doug Edgington,
Header Right widget area is available. If I add text widget in the Header Right widget then the DMCA logo will display in the header. Actually I would like to display it in the footer area. Any suggestions pls?
Rajkumar
http://www.softwaretestingmaterial.comMarch 17, 2016 at 12:30 pm #181725Doug EdgingtonMemberYou can use the footer widgets for this. But I thought they said it needed to be in the header?
Doug Edgington
http://www.dougedgington.com -
AuthorPosts
- The topic ‘Where to add DMCA Badage script in Magazine Pro theme.’ is closed to new replies.