marcnaugler 0 Report post Posted July 12, 2011 The Platform Pro theme is working beautifully for my client, however, I need to incorporate their blog into the site as well. They want the blog accessible from the main nav and I do not know how to get that to work. There are other threads that kind of address this topic, but I haven't found the answer I need yet, so forgive my questions related to something you may have answered a dozen times already. What is the best approach to getting a page (section) of the website to appear as a blog, work as a blog, and yet not have to affect the entirety of the site as a whole? Share this post Link to post Share on other sites
cmunns 16 Report post Posted July 12, 2011 You want to link to an external blog, is that right? Share this post Link to post Share on other sites
marcnaugler 0 Report post Posted July 12, 2011 No. The client wants the website to work both as their main website AND their blog. Share this post Link to post Share on other sites
Simon 248 Report post Posted July 12, 2011 You have 2 choices: #1 style website and in the nav link to /blog then install wordpress to /blog and style it to fit in with rest of site. #2 install wordpress normally create pages in wordpress for site, set homepage as static page in wordpress settings, then create separate blog page so blog posts still go to /blog/ Share this post Link to post Share on other sites
marcnaugler 0 Report post Posted July 13, 2011 I've created a "page" titled Blog, that now rests in my main nav. If I style the blog/post settings in the style I want, say, magazine style, and start adding posts that I want the "Blog" to pull from, how do I get them to show up on the "Blog" page that is in the main nav? Is there an <href> line of code to add to the main content area that will do this? Share this post Link to post Share on other sites
cmunns 16 Report post Posted July 13, 2011 It should do it automatically if you have that page set as the "blog page" in the WordPress Settings > Reading options. Share this post Link to post Share on other sites
joel 0 Report post Posted July 14, 2011 Adam, I'm confused. At http://elevateonlinesolutions.com/admin-assist/ I've created a "homepage" to be my static front page in the Reading Settings. This page is also a "Feature" page that I've organized in the Pagelines settings in order of "Features-Content-Full Width Sidebar." I would like the latest posts to show up under the Features but can't seem to get that to work. What am I missing? Thanks, Joel Share this post Link to post Share on other sites
catrina 103 Report post Posted July 15, 2011 If it's a static page that you created by setting a default page, posts by default won't show. This page is also a "Feature" page that I've organized in the Pagelines settings in order of "Features-Content-Full Width Sidebar." Are you referring to the Template Setup? If so, I think you can enable the post content in this template... Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
joel 0 Report post Posted July 15, 2011 Catrina, Yes I did set the page up that way in the template section. If I can enable the posts how do I do that. Any help would be great. Share this post Link to post Share on other sites
catrina 103 Report post Posted July 15, 2011 The "Main Content" section is what you should enable to allow posts to show. Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
joel 0 Report post Posted July 15, 2011 Excuse my ignorance by where is that found. I'm looking, looking, looking. :-) On the page that is set at the home page there is a "main content" option that says "Hide Main Content (The Loop - Required)" but nothing that says "show" still looking Share this post Link to post Share on other sites
catrina 103 Report post Posted July 16, 2011 Ah, sorry. I thought you set this page up in template setup and were looking at that. To add post content to a page, go to Settings > Template Setup > Custom Page. Enable "Content Area" in that content and then wait for the template to save. Go to the page editor for the page you set as static and on the right side, somewhere under the save/publish option, there's a dropdown menu called "Template" and in there you can select the "Custom Page" template. Save the page. Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
joel 0 Report post Posted July 16, 2011 Okay. 1) I go to the Pagelines button on the left to access the settings 2) I go to Template Setup 3) Then to "select template area" 4) no Custom Page available.... Do I need to make a page called "Custom Page" and upload it? Share this post Link to post Share on other sites
catrina 103 Report post Posted July 16, 2011 There should be a Custom Page in the list provided. It is under the category "Page Templates" in the dropdown as a default. Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
joel 0 Report post Posted July 17, 2011 The list provided give me: - Default Page - Post Pages (tried this but it's not one of the options in when in the page.) - 404 Page - Single Post - Feature Page - Carousel Page - BoxPate - Highlight Page - Banner Page That's all no "custom page" available Share this post Link to post Share on other sites
joel 0 Report post Posted July 18, 2011 Is this one of those time I'll have to use "the loop" function like here? http://diythemes.com/thesis/rtfm/custom-loop-api/ If so where are the pages to download located. Share this post Link to post Share on other sites
cmunns 16 Report post Posted July 18, 2011 you need to be more clear...is the blog ALSO on the main home page in addition to other feature page content? If so, then yes it's best to write a custom loop for this page otherwise you just have a blog page elsewhere on the site that will use the default blog assuming you have this page set as the blog page under SETTINGS > READING and ALSO this page is a default page template. Share this post Link to post Share on other sites
joel 0 Report post Posted July 18, 2011 Okay. 1) I created a page called "home" to use as a static page 2) On that page I gave it the Page Attribute "Features" 3) In the Platform Settings I went to Template Setup, pulled down the Select Template Area, chose Features Page. 4) The options that I drug over were Features, Content, and Full Width Sidebar. 5) That's it. I guess it was oversimplistic of me to assume that content would automatically show up. So I think I'll have to write that custom loop because 1) I need a static front page. 2) I have the running blog in another location, and 3) I'd like a few blogs to show up on that home page. Thanks for your time. I've been making little custom CSS mods all day with great success from all the forum posts. Share this post Link to post Share on other sites
cmunns 16 Report post Posted July 19, 2011 Okay yes you will need the custom loop if you add a hook to your PlatformBase functions.php file you can easily add the loop. ` add_action('pagelines_inside_top_theloop,'custom_loop'); function custom_loop(){ if(is_front_page()): $myquery = new WP_Query('showposts=5'); while ($myquery->have_posts()) : $myquery->the_post(); the_title(); the_excerpt(); endwhile; endif; } ` Start with that and we'll go from there. Share this post Link to post Share on other sites
joel 0 Report post Posted July 20, 2011 added but get this error Parse error: syntax error, unexpected T_STRING in /home/content/p/r/i/prioritieshost/html/elevate/admin-assist/wp-content/themes/platformpro/functions.php on line 14 Now I can't make any changes to anything in the Appearance Editor area or banners or such. I tried to remove the new code and save but I guess that didn't work. Share this post Link to post Share on other sites
joel 0 Report post Posted July 20, 2011 The site it down too. Share this post Link to post Share on other sites
joel 0 Report post Posted July 20, 2011 Okay, downloaded the functions.php file edited out the new content and uploaded Things working again. Share this post Link to post Share on other sites
cmunns 16 Report post Posted July 20, 2011 sorry there was a typo `add_action('pagelines_inside_top_theloop','custom_loop');` NOTE: missing single quote after theloop Share this post Link to post Share on other sites
joel 0 Report post Posted July 21, 2011 Adam, It's working! I'm so excited! No formatting was carried over and no "read" more". I'm going to try and read up and see if I can figure that part of it out. Needs 1) applying <h5> headline to the article title 2) getting a "read more" link to the article. 3) Can I use "sticky" to indicate which ones I might want to be there permanently? Here is the new link http://web.prioritiesbydesign.com/admin-assist/ Share this post Link to post Share on other sites
joel 0 Report post Posted July 21, 2011 Tried the below but it didn't work. I moved endwhile; and endif; to the end but it didn't seem to work. <!-- Display the Title as a link to the Post's permalink. --> <h2>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></h2> Share this post Link to post Share on other sites