Wednesday, August 3, 2022
HomeWordPress Developmentweblog web page - Present preview of wordpress posts on exterior html...

weblog web page – Present preview of wordpress posts on exterior html sever


I used to have this working, nonetheless, ionos began chartging me for having wordpress, once I mentioned I’m not paying for a free website they deleted entry to my weblog. All this system information are there however I can’t get my posts. I’ve needed to remake my weblog on the precise wordpress and all of it hyperlinks collectively high quality. Nevertheless, the code I used to be utilizing seems to be for wp-blog-header.php positioned on the identical server. What I want to have the ability to do is to entry this file on the phrase press website. At present my code is:

<?php
// Embrace WordPress
outline('WP_USE_THEMES', false);
// Change path under to location of wp-blog-header.php on server
require('/****/homepages/45/********/htdocs/clickandbuilds//wp-blog-header.php');
// Change quantity under to point out 1 or extra put up excerpts
query_posts('showposts=3');

?>

I’ve tried altering it to require(‘https://mysite.wordpress.com/wp-blog-header.php’);
however it can’t load and crashes my website.
Deadly error: Uncaught Error: Failed opening required

My query is pretty easy, how do I entry the required file?

Additionally as my entry via ionos, as a result of they’ve blocked me from logging in to wordpress onboard my server, does this imply I’ve to bootstrap wordpress to ensure that the capabilities to work?
Since they deleted my entry the onboard wordpress, my website did not break because it was nonetheless calling the required operate, and getting a return, however no knowledge was exhibiting up in my weblog previews.

Sadly, it appears arduous to seek out straight and easy info on this because it at all times refers to utilizing wordpress put in server aspect. Thanks

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments