Support » Themes and Templates » Using the loop to fetch specific 's at certain areas of a template

  • Hello!

    I’m currently developing my business page in WordPress and I’ve stumbled upon a problem. I have a static front page which I would like to use the loop on to fetch specific <div> ID’s of a page and echo them at specific places in the HTML hierarchy. I have no clue at all if this is possible (but I do believe it is possible) any ideas on how to solve this? this is how it looks when I don’t use the loop to fetch the content.

    The code is:

    <div id="service_info">
    		<div class="span3">
    							<p>Att ranka högt i sökmotorerna är ett kritiskt moment för att driva trafik till sin webbplats, genererar inte din hemsida
    							dem resultat du är ute efter? [Business name] erbjuder ett flertal olika tjänster inom sökmotoroptimering, vill du läsa mer om vårt arbete
    							med sökmotoroptimering, tryck här.


    If I were to use a page and put this code in the “Visual”. How would I use the loop to fetch that specific ID to that certain place in the hierarchy? The <div> I want to echo is <div id=”service_info”>.


  • The topic ‘Using the loop to fetch specific 's at certain areas of a template’ is closed to new replies.