Use wordpress for /blog section only and all other pages static, but using same footer.php and header.php

You could create page templates within the theme. So, for example, for your About page: Create a “page-about.php” file in your theme Include the content there, but instead of using require use the normal WP functions (i.e. wp_head()) so all your plugins’ scripts and styles will load properly Create a Page in wp-admin with the … Read more

Static Page with php echo [duplicate]

You need more than just telling the page where to find your theme. You will likely need to load WordPress. You can do that with the following: <?php define(‘WP_USE_THEMES’, false); require(‘./wp-load.php’); ?> Is the clpr_categories_list() a theme function? You could just WP’s wp_list_categories() function to what you need. The function accepts quite a number of … Read more

Accessing internal wordpress site from the web

So I managed to fix it by changing both SiteURL and homeURL to being the exact same. Now I’ve finally added an A-record in my DNS so the sites uses its own URL. Works like a charm 🙂 Im not sure why but I’ve seen others place “http://…” for SiteURL and “http://www…” for homeURL. However, … Read more