Can we only use wordpress back-end without any interfaces?
I just asked a question a few minutes ago that led me to this:
I want to know if it is possible to use only the back-end wordpress?
I mean,
- link my admin interface to post news
- link my visitor interface on my website to wordpress news so the visitor can access the news.
So a visitor will never know that I am using Wordpress to generate news and handle their comments and write news?
Perhaps it is possible, but there is no point in doing it?
a source to share
Of course it is possible and perhaps not even the dumbest thing to do.
If you use image uploads and other things in your posts, people might find out that you are using WordPress.
If that doesn't bother you, you can easily access WordPress content installed on the same server. You will need to include Wordpress main include in your script. Then you can use WP functions to query and output messages.
Codex will provide you with all the features you need to do this. Starting point here: get_posts ()
Working example from my project with the latest post headers:
include("Blog/wp-blog-header.php");
$myposts = get_posts('numberposts=5&offset=0&category=0');
echo "<ul class='Bloglinks'>";
foreach($mypost as $post)
{
echo '<li><a href="';
the_permalink(); // You will want to remove this obviously
echo '">';
the_date();
echo " ";
the_title();
echo '</a></li>';
}
echo "</ul>";
Warning. When you enable WordPress, it will consume a lot of your script memory. Wordpress is pretty thick. You might want to set up some sort of caching mechanism to avoid having to run a WordPress request for every request that was made on your home page.
There are also ways to get remote content to install WordPress via RSS (filters images though I guess) and possibly XML RPC API.
a source to share