Jump to content
Sign in to follow this  
slateb

Moving Content Around - Changing Layout

Recommended Posts

slateb

I am wondering how I might be able to move different content around and add different elements to the post loop and sing post.

for instance I want to move the metabar above the post title.

I also want to put the categories and comments down at the bottom of the post loop.

Anyone have ideas on how to achieve this. It seems to me that loops would be the easiest way, I'm just not sure where to start.

Any help would be greatly appreciated.

Share this post


Link to post
Share on other sites
Rob

Some of this may be done in simple ways, others are more complex. For example, you can handle the comments and some other bits being moved to the bottom via Dashboard > PageLines > Drag & Drop > Content Area > Blog Post.

The categories and meta bar can be added to the bottom by adding Content Box in the Blog Post's Drag & Drop under the PostLoop (next item down). On your static page, you'll see Content Box. In the Content Box Class , type metabar and add nothing else. Save. View your post.

In Dashboard > PageLines > Site Options > Custom Code > CSS Rules, add:


em {

    display: none;

}


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
slateb

Rob, thanks for your answer. some of it was very helpful. i was able to add some of the component i needed via the drag and drop.

the issue i am currently running into is in the post excerpts.

i think i will need to actually move some of the content structure around but still can't figure out what file that is in.

any clue what php file or files create the actually html layout for the posts and post excerpts ?

thanks.

Share this post


Link to post
Share on other sites
James B

From you initial message it sounds like you'd have to add a filter to the blog posts section in order to add the extra sections to the bottom.

You can find a list of the Pagelines Hooks/filters and actions here http://api.pagelines.com/hooks


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • jeomiland
      By jeomiland+
      Hi guys
      Hopefully an easy question. I have some custom code included in a Next section in a DMS site that I'm converting to platform5. What is the easiest way to insert my code into a "section" which I can easily add to my page structure with the platform5 page editor? I have the Embed extension but that takes javeascript, and my PHP test failed. Also have the Shortcodes extension, but looks like that only inserts objects into the WP-loop? and again, how to create a Hook that can go here?
      thanks...
    • fabienfons
      By fabienfons+
      Hi,
       
      At the bottom of the loops section, there is the page numbers...
      I'd like to change their size... (they are too small in my opinion..)
      Could you tell me how to do that ?
      Fabien
      www.youtips.com
    • KathleenAspenns
      By KathleenAspenns+
      I would like to upgrade my site to PHP 7, but there is an error warning in the PL Framework theme. I should think this should be fixed asap, I cannot be the only person trying to be up to date.
      1976 | ERROR | preg_replace() - /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
       
    • Dan Haddock
      By Dan Haddock
      DMS: Latest Version
      Running a Child Theme
      Wordpress: 4.8.3
      Plugins:
      Akismet Anti-Spam 
      Coming Soon Page & Maintenance Mode by SeedProd
      Contact Form 7
      Cookie Law Info
      DMS Professional Tools    
      Enhanced Media Library
      Flamingo
      Google Analytics for WordPress by MonsterInsights
      Google XML Sitemap    
      Jetpack by WordPress.com
      Legull
      Loginizer   
      MailChimp for WordPress
      PageLines Updater
      Really Simple SSL
      Schema App Structured Data
      Sucuri Security - Auditing, Malware Scanner and Hardening  
      Uber reCaptcha
      Yoast SEO
      Problem Below
      Hi Team,
      I am looking to style the Continue Reading Button with the PHP you provided in an earlier ticket here: 
       
      I put the PHP code into my site, however I do not get my Icon back, I just get back Read More >>
      I have attached a screenshot of the code in place on my site along with the output.
      Interested to know what I may be doing wrong? - I am very new to PHP so a bit apprehensive on this.
      The Images: https://drive.google.com/open?id=0B0i4JJXa2jdQN2xoakZNRUdmaU0
      Let me know if you need any more information from me.
       
    • Bill Bernat
      By Bill Bernat+
      Hi, I'm using a series of Loops sections on our PL5 site (insights.adaptiva.com), and on one section, I'd ideally like the loops to link to external URLs that are defined in the post in WordPress. Is that possible?
×