• ijon

    (@ijon)


    Hi there WordPressPeeps…

    So, I’m trying to develop a new wordpress theme, and it seems I’m trapped…

    1. So, my goal is to actually display posts from a certain category on a portfolio page.
    I created the loop, and it works.
    Now I’m trying to display posts inline, and I must say it works less… ??

    Does anyone know how do write the code to display posts inline in my template and css?

    2. I would like to display like 6 photos per page.
    How do I write the code to create the second and then third page in PHP ? And off course the navigation that comes with it ?

    Thank you so much for your help !

    Here’s a bit of my code so far:

    Template file:

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    and the CSS :

    .project-display{
    	width:260px;
    	float:left;
    	margin-top:25px;
    	margin-left:25px;
    }
    .image{
    	width:250px;
    	height:187px;
    	border:2px solid #c5c5c5;
    }
    #projects-container{
    	width:1200px;
    	background:#f7f7f7;
    }
  • The topic ‘Loop styling Problem’ is closed to new replies.