hulp nodig met mijn html code
Hopelijk kan iemand me helpen. Ik heb een template gedownload en ben nu bezig met de html goed te zetten maar heb hier niet veel verstand van. Zoals je kan zien op mijn site: http://altijdhoofdpijn.blogspot.com
- staat er onderaan de pagina de optie : be the first to get notified. Deze wil ik graag weg hebben
- evenals de social icons die hier bij staan. Maar ik weet niet welke dingen ik in mijn html dan moet verwijderen.
- ook staat er onder elke blogpost een stuk over de auteur en: no related posts. Hoe moet ik deze in gaan vullen zodat het werkt?
mijn html is hier te zien: https://wetransfer.com/downloads/b53255b84f50869f77b1ba4a1cd94b0420190219191529/866af8148944234f07653d696eb6dbad20190219191529/bec8c6
Weet iemand hoe ik deze problemen kan oplossen?
mijn dank is groot!
Gewijzigd op 19/02/2019 20:17:36 door Kim Gulik
Kan je ze niet hier plaatsen, als het niet al te groot is. (+/- 150 regels max.) Of desnoods in een JSfiddle, of iets anders?
Anders is dit topic over een week ook weer waardeloos.
Gewijzigd op 19/02/2019 21:07:23 door - Ariën -
Die copyright notice staat meestal in een van de template css'en die zon template rijk is. De vraag is even welke... kan soms wat zoekwerk zijn, maar op zich prima te doen.
Code (php)
1
2
3
4
5
2
3
4
5
<div class='ct-wrapper'>
<div class='footer-subscribe-left'>
<h1>Be The First To Get Notified!</h1>
<p>Sign up for our newsletter to get up - to - date from us</p>
</div>
<div class='footer-subscribe-left'>
<h1>Be The First To Get Notified!</h1>
<p>Sign up for our newsletter to get up - to - date from us</p>
</div>
Zo te zien is dit wordpress.
In het admin gedeelte: Weergave->widgets
Dan open je de tab Footer, dat is even zoeken welke het is, open klikken met de diehoekjes, en dan op verwijderen klikken.
<div id='footer'>
<div class='footer-subscribe'>
<div class='ct-wrapper'>
<div class='footer-subscribe-left'>
<h1>Be The First To Get Notified!</h1>
<p>Sign up for our newsletter to get up - to - date from us</p>
</div>
<div class='footer-subscribe-right'>
<form action='http://feedburner.google.com/fb/a/mailverify' id='subscribe' method='post' onsubmit='window.open('http://feedburner.google.com/fb/a/mailverify?uri=Veethemes', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true' target='popupwindow'>
<input name='uri' type='hidden' value='Veethemes'/>
<input name='loc' type='hidden' value='en_US'/>
<input id='sub_box' name='email' onblur='if (this.value == "") {this.value = "Email address";}' onfocus='if (this.value == "Email address") {this.value = ""}' type='text' value='Email address'/>
<input id='sub_button' title='' type='submit' value='Subscribe'/>
</form>
</div>
<div class='footer-social'>
<ul>
<li><a href='https://facebook.com/#' title='facebook'><i class='fa fa-facebook-square'/><span>Facebook</span></a></li>
<li><a href='https://twitter.com/#' title='twitter'><i class='fa fa-twitter'/><span>Twitter</span></a></li>
<li><a href='https://instagram.com/#' title='instagram'><i class='fa fa-instagram'/><span>Instagram</span></a></li>
<li><a href='https://pinterest.com/#' title='pinterest'><i class='fa fa-pinterest'/><span>Pinterest</span></a></li>
<li><a href='https://youtube.com/#' title='youtube'><i class='fa fa-youtube'/><span>Youtube</span></a></li>
<li><a href='https://bloglovin.com/#' title='Bloglovin'><i class='fa fa-heart'/><span>Bloglovin</span></a></li>
<li><a href='https://plus.google.com/#' title='Google+'><i class='fa fa-google-plus'/><span>Google+</span></a></li>
</ul>
</div>
</div>
</div>
<div class='footer_credits'>
<p>Copyright © 2018 • <a expr:href='data:blog.homepageUrl'><data:blog.title/></a> | Designed By <a href='//www.veethemes.co.in' id='copyright'>VeeThemes.co.in</a></p>
</div>
</div><!-- footer -->
<b:if cond='data:blog.pageType == "index"'>
<b:if cond='data:blog.pageType != "static_page"'>
<script type='text/javascript'>
/*<![CDATA[*/
var perPage=7;
var numPages=4;
var firstText ='First';
var lastText ='Last';
var prevText ='?';
var nextText ='?';
var urlactivepage=location.href;
var home_page="/";
En hieronder staat het stukje over de auteur met related posts waarvan ik niet weet hoe je het in moet vullen. Wanneer ik het weghaal, gaat het ook niet goed.
<!-- blog_author_profile -->
<div class='authorboxwrap'>
<div class='authorboxfull'>
<div class='avatar-container'>
<a expr:href='data:post.authoProfileUrl'>
<img class='author_avatar' expr:alt='data:post.author' expr:src='data:post.authorPhoto.url' height='96' width='96'/>
</a>
<h4><a expr:href='data:post.authoProfileUrl' rel='author'><data:post.author/></a></h4></div>
<div class='author_description_container'>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi eu sem ultrices, porttitor mi eu, euismod ante. Maecenas vitae velit dignissim velit rutrum gravida sit amet eget risus. Donec sit amet mollis nisi, nec commodo est.
</p>
<div class='authorsocial'>
<a class='' href='http://facebook.com/themewich' target='_blank'><i class='fa fa-facebook'/></a>
<a class='' href='http://twitter.com/ajgagnon' target='_blank'><i class='fa fa-twitter'/></a>
<a class='' href='http://dribbble.com/ajgagnon' target='_blank'><i class='fa fa-dribbble'/></a>
<a class='' href='http://instagram.com/ajgagnon' target='_blank'><i class='fa fa-instagram'/></a>
<div class='clr'/>
</div>
</div>
</div>
</div>
<div class='clr'/>
<!-- @related-posts -->
<div id='related-posts'>
<script type='text/javascript'>//<![CDATA[
var ry="<h5>Related Posts</h5>";rn="<h5>No related post available</h5>";rcomment="comments";rdisable="disable comments";commentYN="no";var dw="";titles=new Array;titlesNum=0;urls=new Array;timeR=new Array;thumb=new Array;commentsNum=new Array;comments=new Array;
function related_results_labels(c){for(var b=0;b<c.feed.entry.length;b++){var d=c.feed.entry;titles[titlesNum]=d.title.$t;for(var a=0;a<d.link.length;a++){if("thr$total"in d)commentsNum[titlesNum]=d.thr$total.$t+" "+rcomment;else commentsNum[titlesNum]=rdisable;if(d.link[a].rel=="alternate"){urls[titlesNum]=d.link[a].href;timeR[titlesNum]=d.published.$t;if("media$thumbnail"in d)thumb[titlesNum]=d.media$thumbnail.url;else thumb[titlesNum]="http://lh3.ggpht.com/--Z8SVBQZ4X8/TdDxPVMl_sI/AAAAAAAAAAA/jhAgjCpZtRQ/no-image.png";
titlesNum++;break}}}}function removeRelatedDuplicates(){var b=new Array(0);c=new Array(0);e=new Array(0);f=new Array(0);g=new Array(0);for(var a=0;a<urls.length;a++)if(!contains(b,urls[a])){b.length+=1;b[b.length-1]=urls[a];c.length+=1;c[c.length-1]=titles[a];e.length+=1;e[e.length-1]=timeR[a];f.length+=1;f[f.length-1]=thumb[a];g.length+=1;g[g.length-1]=commentsNum[a]}urls=b;titles=c;timeR=e;thumb=f;commentsNum=g}
function contains(b,d){for(var c=0;c<b.length;c++)if(b[c]==d)return true;return false}
function printRelatedLabels(a){var y=a.indexOf("?m=0");if(y!=-1)a=a.replace(/\?m=0/g,"");for(var b=0;b<urls.length;b++)if(urls==a){urls.splice(b,1);titles.splice(b,1);timeR.splice(b,1);thumb.splice(b,1);commentsNum.splice(b,1)}var c=Math.floor((titles.length-1)*Math.random());var b=0;if(titles.length==0)dw+=rn;else{dw+=ry;dw+="<ul>";while(b<titles.length&&b<20&&b<maxresults){if(y!=-1)urls[c]=urls[c]+"?m=0";if(commentYN=="yes")comments[c]=" - "+commentsNum[c];else comments[c]="";dw+='<li><a href="'+
urls[c]+'" title="'+titles[c]+'" rel="nofollow" class="related-thumbs"><img alt="'+titles[c]+'" src="'+thumb[c].replace(/\/s72\-c/,"/s"+size+"-c")+'"/></a><div class="clr"></div><a class="related-title" href="'+urls[c]+'">'+titles[c]+"</a></li></div>";if(c<titles.length-1)c++;else c=0;b++}dw+="</ul>"}urls.splice(0,urls.length);titles.splice(0,titles.length);document.getElementById("related-posts").innerHTML=dw};
//]]></script>
<b:loop values='data:post.labels' var='label'>
<script expr:src='"/feeds/posts/default/-/" + data:label.name + "?alt=json-in-script&callback=related_results_labels"' type='text/javascript'/>
</b:loop>
<script type='text/javascript'>
var maxresults=3;
var size = 250;
removeRelatedDuplicates();
printRelatedLabels('<data:post.url/>');</script>
</div>
<div class='post-footer-line post-footer-line-2'>
</div>
<div class='post-footer-line post-footer-line-3'><span class='post-location'>
<b:if cond='data:top.showLocation'>
<b:if cond='data:post.location'>
<data:postLocationLabel/>
<a expr:href='data:post.location.mapsUrl' target='_blank'><data:post.location.name/></a>
</b:if>
</b:if>
</span> </div>
</div>
</b:if>
Toevoeging op 20/02/2019 08:22:01:
@Bart: Helaas werkt het zo niet, ik kan alleen aan de gehele html code rommelen, er is geen tab footer die ik kan bewerken.
Want als je wordpress gebruikt hoef je geen code te verwijderen.
Dan is het alleen de widget uitschakelen...
Bart: nope, ik gebruik blogger :)
Code (php)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<div class='footer-subscribe'>
<div class='ct-wrapper'>
<div class='footer-subscribe-left'>
<h1>Be The First To Get Notified!</h1>
<p>Sign up for our newsletter to get up - to - date from us</p>
</div>
<div class='footer-subscribe-right'>
<form action='http://feedburner.google.com/fb/a/mailverify' id='subscribe' method='post' onsubmit='window.open('http://feedburner.google.com/fb/a/mailverify?uri=Veethemes', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true' target='popupwindow'>
<input name='uri' type='hidden' value='Veethemes'/>
<input name='loc' type='hidden' value='en_US'/>
<input id='sub_box' name='email' onblur='if (this.value == "") {this.value = "Email address";}' onfocus='if (this.value == "Email address") {this.value = ""}' type='text' value='Email address'/>
<input id='sub_button' title='' type='submit' value='Subscribe'/>
</form>
</div>
<div class='footer-social'>
<ul>
<li><a href='https://facebook.com/#' title='facebook'><i class='fa fa-facebook-square'/><span>Facebook</span></a></li>
<li><a href='https://twitter.com/#' title='twitter'><i class='fa fa-twitter'/><span>Twitter</span></a></li>
<li><a href='https://instagram.com/#' title='instagram'><i class='fa fa-instagram'/><span>Instagram</span></a></li>
<li><a href='https://pinterest.com/#' title='pinterest'><i class='fa fa-pinterest'/><span>Pinterest</span></a></li>
<li><a href='https://youtube.com/#' title='youtube'><i class='fa fa-youtube'/><span>Youtube</span></a></li>
<li><a href='https://bloglovin.com/#' title='Bloglovin'><i class='fa fa-heart'/><span>Bloglovin</span></a></li>
<li><a href='https://plus.google.com/#' title='Google+'><i class='fa fa-google-plus'/><span>Google+</span></a></li>
</ul>
</div>
</div>
</div>
<div class='ct-wrapper'>
<div class='footer-subscribe-left'>
<h1>Be The First To Get Notified!</h1>
<p>Sign up for our newsletter to get up - to - date from us</p>
</div>
<div class='footer-subscribe-right'>
<form action='http://feedburner.google.com/fb/a/mailverify' id='subscribe' method='post' onsubmit='window.open('http://feedburner.google.com/fb/a/mailverify?uri=Veethemes', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true' target='popupwindow'>
<input name='uri' type='hidden' value='Veethemes'/>
<input name='loc' type='hidden' value='en_US'/>
<input id='sub_box' name='email' onblur='if (this.value == "") {this.value = "Email address";}' onfocus='if (this.value == "Email address") {this.value = ""}' type='text' value='Email address'/>
<input id='sub_button' title='' type='submit' value='Subscribe'/>
</form>
</div>
<div class='footer-social'>
<ul>
<li><a href='https://facebook.com/#' title='facebook'><i class='fa fa-facebook-square'/><span>Facebook</span></a></li>
<li><a href='https://twitter.com/#' title='twitter'><i class='fa fa-twitter'/><span>Twitter</span></a></li>
<li><a href='https://instagram.com/#' title='instagram'><i class='fa fa-instagram'/><span>Instagram</span></a></li>
<li><a href='https://pinterest.com/#' title='pinterest'><i class='fa fa-pinterest'/><span>Pinterest</span></a></li>
<li><a href='https://youtube.com/#' title='youtube'><i class='fa fa-youtube'/><span>Youtube</span></a></li>
<li><a href='https://bloglovin.com/#' title='Bloglovin'><i class='fa fa-heart'/><span>Bloglovin</span></a></li>
<li><a href='https://plus.google.com/#' title='Google+'><i class='fa fa-google-plus'/><span>Google+</span></a></li>
</ul>
</div>
</div>
</div>
Als je dit stuk weghaalt is de subscripe weg. Dat kan gewoon, want dit is gewoon static html.
Maar het werkt, het stukje onderaan de pagina is weg, mijn dank is groot :)