Jump to content
Sign in to follow this  
cloudmail

Customizing Home Page with Pagelines Platform

Recommended Posts

cloudmail    0
cloudmail

I am running my Word Press blog with Pagelines Platform Free Version and have encountered some difficulties in customizing my home page and the search results page.

 

By default, Platform shows 30 most recent posts in the first page of the home page and 30 search results as well in the first page of search results.

 

However, the page is too long and I would like to cut the page to only showing 10 results / posts per page.

 

There isn't a home.php for me to edit and I have found postloop.php but no luck.

 

Does anyone knows how to customize the home page and search results page?

 

Thanks in advance.

Share this post


Link to post
Share on other sites
Rob    547
Rob

Hi,

 

If you go to Dashboard > Settings > Reading, you can set the number of posts there.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
cloudmail    0
cloudmail

Hi Rob,

 

Thanks for your reply.

 

That's possible according to another thread: http://www.pagelines.com/forum/topic/26668-change-the-number-of-posts-on-the-homepage/?hl=home

 

But what I wish to know is that can I hard code it in my child theme?

 

The structure of Pagelines themes are a bit different since it is a framework and I wish to know how I can modify the homepage by adding in my code.

 

Specifically, which file in Pagelines / Platform controls the home page elements?

 

Thanks a lot again for all the help given.

Share this post


Link to post
Share on other sites
Rob    547
Rob

Hi,

 

Unfortunately, that's a customization we couldn't support.  It means editing core files which isn't a supported activity.  Your site uses the WP settings, as it's supposed to do.


Former PageLines Moderator, Food Expert and Raconteur

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

    • Magne Nygaard
      By Magne Nygaard
      Hi,
      I am confused about the products your are offering.
      What is DMS, Platform and Pagelines!?
    • John Olsson
      By John Olsson+
      Hello, i'm working on a webshop, and got this code to really boost the search within WP. But when adding this code to functions.php the front end media library search flipped totally, and not working at all, any ideas what's the problem?
      function atom_search_where($where){ global $wpdb; if (is_search()) $where .= "OR (t.name LIKE '%".get_search_query()."%' AND {$wpdb->posts}.post_status = 'publish')"; return $where; } function atom_search_join($join){ global $wpdb; if (is_search()) $join .= "LEFT JOIN {$wpdb->term_relationships} tr ON {$wpdb->posts}.ID = tr.object_id INNER JOIN {$wpdb->term_taxonomy} tt ON tt.term_taxonomy_id=tr.term_taxonomy_id INNER JOIN {$wpdb->terms} t ON t.term_id = tt.term_id"; return $join; } function atom_search_groupby($groupby){ global $wpdb; // we need to group on post ID $groupby_id = "{$wpdb->posts}.ID"; if(!is_search() || strpos($groupby, $groupby_id) !== false) return $groupby; // groupby was empty, use ours if(!strlen(trim($groupby))) return $groupby_id; // wasn't empty, append ours return $groupby.", ".$groupby_id; } add_filter('posts_where','atom_search_where'); add_filter('posts_join', 'atom_search_join'); add_filter('posts_groupby', 'atom_search_groupby');  
    • Queue-it
      By Queue-it+
      HI,
      Search function doesn't seem to work. 
      When ever searching for something it redirect to the home page and add the search string to the url.
      For example searching for "cases" it would display https://queue-it.com/?s=cases
      Do you know how to solve that? 
    • MobileParity
      By MobileParity+
      Does anyone know what features have been included in the Foundation theme? Such as building blocks or the Motion UI?
    • jacobtippett
      By jacobtippett+
      So I just did a fresh install of Platform 5 & the included Framework on a new site and this is what came up on the site:
      "Fatal error: Call to undefined function pl_edit_head() in /home1/jacobtip/public_html/mycoastalwellness.com/wp-content/themes/pl-framework/header.php on line 1"
      Any ideas on how to fix this?
×