Home › Forums › WordPress Themes – Premium › Preference › Can I use pages rather than posts for portfolio
- This topic has 9 replies, 21 voices, and was last updated 10 years, 2 months ago by
Sushil Adhikari.
-
AuthorPosts
-
June 27, 2013 at 4:46 pm #13876
Phil
ParticipantI wish to use the Page + Right Column layout for the property listings that I am using from my portfolio page. However to add things to the portfolio the action is to add a post, is there a way around this?
Or can I add this layout to the posts?
Thank you
Phil
June 27, 2013 at 5:42 pm #17934Sushil Adhikari
ModeratorTo use a page instead, you would have to manually create your portfolio page by doing html code in the page. So basically you create your page with WP, then in the editor, you would add the html code. You could view the portfolio from the demo site, then copy and paste the source code for the items. To give you an idea of what the code looks like for one of the portfolio items:
[code type=html4strict]
Christina Super Model
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam metus nisi, pulvinar vitae volutpat vel, faucibus vel augue. Aliquam erat volutpat. Cras egestas posuere justo at feugiat. In et lobortis …
The above is using a span4 class to give the 3 column layout because this is a 12-column theme layout, so 3 x span4 columns = 12, You can do 2, 3, or more columns if you want.
For each row of items such as 3 items, needs to be wrapped in a div container with a class of row:
June 27, 2013 at 6:05 pm #17935Phil
ParticipantHi
I came at it from a different direction so created a page with two columnsTest page – http://www.cornishretreats.com/holidays/mounts-view-page
Thought I was onto something so copy and pasted the code into a new post..Test post – http://www.cornishretreats.com/holidays/property-layout-2
it sort of worked but seem to create a third column. Can you see what went wrong or is this not an option?Thank you for your help.
Phil
June 27, 2013 at 7:16 pm #17936Phil
ParticipantIs is something to do with Preference Pro: Single Post (single.php) ?
June 27, 2013 at 8:11 pm #17938Sushil Adhikari
Moderatorok, now I’m a bit lost, lol. But basically without having to create a new theme file(s), the method I posted is the better one I think. Create a page with the right column, add the portfolio layout for how many columns you want, then each portfolio item you want, you create another page using the right column template and with that you can add your photos, content, anything you want. Just link to this page from the link button on the portfolio items. So in a sense, you will have one page that is your main portfolio layout of items, then the button links to a page that contains the subject matter of the portfolio item.
June 27, 2013 at 11:12 pm #17939Phil
ParticipantHi,
Thank you for your help so far…I am possibly not seeing the wood for the trees now !This is the layout for the pages I wish to achieve. I have 19 to re-create instead of using posts
http://www.cornishretreats.com/holidays/mounts-view-page/To use the page template with right sidebar do I do the following?
Go to appearance – choose widgets and keep placing additional advanced text widgets and reference the unique page title for each one.
(Adding text, formatting and images etc is does not seem as straight forward as adding it on the main WP page screen )So is this the best way or is using the technique as described here http://demo.styledthemes.com/preference/inline-columns/ better? This is what I used for the test page.
Thank you again
Phil
June 27, 2013 at 11:17 pm #17940Phil
ParticipantOr I could put together what I want in a normal WP page then select text view and copy the code and paste it in to the text widget
and get this http://www.cornishretreats.com/holidays/test-property – looks like I could be solving my own problems here 🙂
June 28, 2013 at 2:18 am #17941Sushil Adhikari
ModeratorI just looked to see how you did that then saw the source code to see you used the inline column method. Creative and doable. So long story short, if that is the layout you want, then ideally how you did it is probably the better way as your test page. Only thing though when I looked at your source code you had a ton of
tags in your content, but empty 🙂
Ultimately when it comes to customizing one’s own website, I leave that up to the individual where I provide the foundation for them to create their own ideas…much like how you did it. My job is to basically make themes and provide support for bugs and things…lol. But it looks like you’re making my job easier here coming up with your solutions 🙂
July 18, 2013 at 7:59 pm #18010Phil
ParticipantA belated thank you for all your help on this project. the website http://www.cornishretreats.com is now live.
Best wishes
PhilJuly 18, 2013 at 8:09 pm #13877Sushil Adhikari
ModeratorAwesome! I checked out the site and seeing that Cornwall photo on the slider of the nice beach makes me want to go on vacation. Very enticing. Job well done.
-
AuthorPosts
- You must be logged in to reply to this topic.