HostOnNet Blog

How to Change the Number of Posts Displayed On Education Park WordPress theme

Recently I installed free version of Education Park wordpress theme and started to customize it.

Education Park

But for my client, he wanted to list all pages in home page. Unfortunately Education Park theme only displaying 3 pages with thumbnails.

So edited the home page template at public_html/wp-content/themes/education-park/page-templates/template-cpmfront.php, online 75


  'posts_per_page' => 3,

Replace with

    'posts_per_page' => 25,

Also checked the theme with and found one critical alert.

Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="' . $urls[0] . '" width="100%" height="240" frameborder="no" scrolling="no"> in file functions.php.

Line 467: $html .= ('<iframe src='' . $urls[0] . '' width='100%' height='240' frameborder='no' s


So I removed the iframe code from functions.php

About Sibi Antony

Bootstrap and Android LOVER. I've been creating things for the web for over 10 years, from the period of flash and table based layout web sites till mobile and tab friendly web sites.
Posted in Wordpress