Jump to content
Sign in to follow this  

Moving Content Around - Changing Layout

Recommended Posts

slateb    0

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    547

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    0

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 ?


Share this post

Link to post
Share on other sites
James B    436
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

    • JP
      By JP+
      We are working on a 2 languages site (https://liguecardioliga.be) with wpml, and lately the call of a category in the loops section (and all the sections requiring a category to select posts) doesn't work in the translated language. It worked well until recently so I wonder if it's because of a recent update (wordpress, wpml, pagelines, a plugin?). Anyone has the same problem? a solution?
    • fabienfons
      By fabienfons+
      I'd like to create 6 columns in Loops...
      Is it possible with custom code ?
    • Queue-it
      By Queue-it+
      Previous webmaster has made short codes assigned to certain categories. For example: [pl_section section="loops" id="003"]  displays all the Job posts for tech. 
      But where can I assign a short code for a certain category? I can't find where to add the loop ID for the category.
      Thank you
    • sfmstudios
      By sfmstudios+
      I've created a custom field (job_description) for my custom post type "Team Members" (here is the page: http://www.chillspa.com/meet-the-team).  I'd like this have this be a display option using the Loops section in PL5, but I couldn't find any documentation on how to add that.
      What options do I have?  Thanks!
    • Samuel Costa - UDF
      By Samuel Costa - UDF+
      I'm using Loops section on search pages and using default query object.
      But i cant sort in descendent order. Doens't work.
      Another thing. How i use meta query object ? Can i give me a example?