September 10, 201115 yr Hi guys, You might have seen previous posts from me, taking a PSD to a Wordpress site. I've tried to circumnavigate the root of paying an agency to do this, and have managed to get the PSD into an HTML file without too many issues - see it here The next step is obviously getting it into the Wordpress template. The guides and tutorials (I've looked at about 30 so far!) haven't been particularly clear, and require a lot of PHP knowledge from what I can establish - not something I have, but I'm trying to learn! What are people's thoughts on developing it into a WP theme using a child theme - is this the best way to do it or should I modify the standard twentyten/eleven themes that come with WP? Thanks!
October 5, 201115 yr Hi guys, You might have seen previous posts from me, taking a PSD to a Wordpress site. I've tried to circumnavigate the root of paying an agency to do this, and have managed to get the PSD into an HTML file without too many issues - see it here The next step is obviously getting it into the Wordpress template. The guides and tutorials (I've looked at about 30 so far!) haven't been particularly clear, and require a lot of PHP knowledge from what I can establish - not something I have, but I'm trying to learn! What are people's thoughts on developing it into a WP theme using a child theme - is this the best way to do it or should I modify the standard twentyten/eleven themes that come with WP? Thanks! Have a look at this website http://www.wpdesigner.com/2007/02/19/so-you-want-to-create-wordpress-themes-huh/ it really helped when i started templating Wordpress
October 5, 201115 yr I've also found places that will do it for $50-100 in the past. Depends how much your time is worth
October 26, 201115 yr Author I've also found places that will do it for $50-100 in the past. Depends how much your time is worth I'd happily pay for the service - but everyone seems to chuck on so many extras when I just want the home page and single post/archive page, no custom widgets etc. Anywhere you'd recommend?
October 28, 201115 yr Author So using some very rudimentary tutorials I've managed to cobble together a theme which seems to have some success working, but some of the images aren't quite lining up or showing. Zip file attached of the theme folder. If someone could take a look that would be great - the only thing I can think of is that my stylesheet isn't calling out in the .php files correctly. I've also attached an HTML file in the zip showing the look I'm after! wordpress.zip
October 29, 201115 yr Author your a web designer and you can't turn a html file into a wordpress template? I run the design side of it, I have coders doing the work for me normally but due to various circumstances they've not been able to. This is a side project to help teach myself the coding side of it. Wordpress is still something new to me. Edited October 29, 201115 yr by ppdesign
October 29, 201115 yr Author see now the images will show Brilliant, thanks! Can you give me some idea of what I was doing wrong? I've noticed the HTML code in the place of the loop, so have adjusted this to an example of a Loop that I found in a tutorial. It's now not displaying the post, but shows the title of the latest post. Ideally I want to show the latest 2 posts on the homepage - can I use code in the Loop/Index page to call that out? The other pages will just be pages that display the posts based on their category tags to make it easier for my friend to update themselves. The footer also doesn't seem to be displaying - is this to do with the index.php? sian.zip Edited October 29, 201115 yr by ppdesign
October 29, 201115 yr well i have done this but for some reason i am not sure why the loop is breaking may be some expert here will be able to help and for image i used <img alt="OK!TV" src="<?php bloginfo('template_directory'); ?>/images/pngs/oktv.png" /> the code <?php bloginfo('template_directory'); ?> shows the right path to ur image folder live link Edited October 29, 201115 yr by sash_oo7
October 29, 201115 yr Author well i have done this but for some reason i am not sure why the loop is breaking may be some expert here will be able to help and for image i used <img alt="OK!TV" src="<?php bloginfo('template_directory'); ?>/images/pngs/oktv.png" /> the code <?php bloginfo('template_directory'); ?> shows the right path to ur image folder live link Brilliant, thanks. Thought the image thing might be something silly like that! I've got the posts showing now, just need to figure out how to only show 2 on the home page, and to fit them into the right area!
October 29, 201115 yr In the WP settings -> reading you can change how many posts to show on the front page.
October 29, 201115 yr Author In the WP settings -> reading you can change how many posts to show on the front page. Ah yup, got that. I'm wondering why my second post isn't showing below the first properly? Is there a way to rectify this? I'm assuming it's in the CSS or WP loop? Thanks to everyone for the help so far - learning loads!
October 29, 201115 yr <?php get_header(); ?> <?php get_sidebar(); ?> <div id="content"> <div class="blogcontent"> <?php if ( have_posts() ) : ?> <?php while ( have_posts() ) : the_post(); ?> <div class="post"> <div class="post_title"> <h2><a href=”<?php the_permalink(); ?>“><?php the_title(); ?></a></h2> <small><?php the_time('l, F jS, Y') ?>| by <?php the_author(); ?> | FILED AS: <?php the_category(', ') ?></small> </div> <div class="postmetadata"> <!--Comments--> <?php comments_popup_link(' 0', '1', '%'); ?> </div> <br class="space" /> <div class="entry"> <img src="<?php echo get_post_meta($post->ID, 'thumbnail',true) ?>" alt="Post Image" class="alignleft postthumb" /> <p><?php the_excerpt(); ?></p> <p> <a href="<?php echo get_permalink(); ?>" class="more-link"> Read More...</a></p> </div> </div> <?php endwhile;?> <div class="navigation"> <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> </div> <?php else: ?> <h2 class="center">Not Found</h2> <p class="center">Sorry, but you are looking for something that isn't here.</p> <?php endif; ?> </div> </div> <br style="clear: both;" /> <?php get_footer(); ?> replace ur index.php with this code Edited October 29, 201115 yr by sash_oo7
November 2, 201115 yr Author Awesome - thanks! Definitely showing latest 2 posts now, and I've removed the link to get to more (will use an archive page for this), but it's cut out the background box again? Is there a way to remove the sidebar on the left and use a Twitter feed code as well? <script src="http://widgets.twimg.com/j/2/widget.js"></script> <script> new TWTR.Widget({ version: 2, type: 'profile', rpp: 4, interval: 30000, width: 250, height: 300, theme: { shell: { background: '#333333', color: '#6399c6' }, tweets: { background: '#424141', color: '#6399c6', links: '#db094f' } }, features: { scrollbar: false, loop: false, live: false, behavior: 'all' } }).render().setUser('sianwelby').start(); </script> Cheers!
November 8, 201115 yr Author I've also been using the 'More' tag with some other designs - is there a way to hardcode this into the WP loop to say and this after 2 paragraphs?
November 8, 201115 yr Author u want to increase the excerpt limit? If possible - just to 2 paragraphs - how do I extend that? I assume I can also use the template for static pages now, i.e. About, Contact etc - and the loop will be replaced by the content? The other question was about that sidebar widget.
November 9, 201115 yr If possible - just to 2 paragraphs - how do I extend that? I assume I can also use the template for static pages now, i.e. About, Contact etc - and the loop will be replaced by the content? The other question was about that sidebar widget. use plugin for twitter feed and for excerpt try this plugin
November 25, 201114 yr Author I still can't shift the bottom bar - it's still missing a chunk of background
November 25, 201114 yr #content { margin-left: -93px; height: 516px;/*remove height*/ background: url('images/pngs/bg-646x1.png') repeat-y top left; float: left; text-align: left; width: 646px; } #content { margin-left: -93px; background: url('images/pngs/bg-646x1.png') repeat-y top left; float: left; text-align: left; width: 646px; }
December 4, 201114 yr see here if u display more than 2 posts it shows fine Edited December 4, 201114 yr by sash_oo7
December 18, 201114 yr Author Thanks to Sash the site is coming along quite nicely now - see here: http://ppdesign.host22.com/ A few queries tho if any of you guys have the solutions On the static pages I've created, the page doesn't seem to be displaying the correct background image, it's leaving it blank currently. Clicking 'Read More' on the Blog page for the Posts takes me to the Post page, but doesn't show the full post - I've no idea why! I'd like to remove the sidebar on the left and replace it with the Twitter Profile Widget here - http://twitter.com/about/resources/widgets/widget_profile - I assume it's a case of swapping out the code in the sidebar.php and then tidying up the styling? Any help would be greatly appreciate - Sash has been a huge help so far!
December 20, 201114 yr Author Ideally like this: http://imageshack.us/photo/my-images/827/staticpagemockup.jpg/
Create an account or sign in to comment