I dont use wordpress very much
I have a website that was handed to me and the homepage has a wordpress blogger sitting in the main webpage. as a precaution before doing anywork on the website i have saved a copy of the webpage (named index.php) and called it index1.php. if i try to view the saved (index1.php) the blogger is missing.
is there something in the wordpress part of the site that links in with index.php and thats why its isnt showing?
wordpress blogger not showing on homepage
Moderator: General Moderators
-
jonnyfortis
- Forum Contributor
- Posts: 462
- Joined: Tue Jan 10, 2012 6:05 am
Re: wordpress blogger not showing on homepage
Sorry, it's not clear to me what this means. Can you please elaborate?jonnyfortis wrote:the homepage has a wordpress blogger sitting in the main webpage
Why aren't you using version control? Seriously. Take a day or two and learn Git.jonnyfortis wrote:as a precaution before doing anywork on the website i have saved a copy of the webpage (named index.php) and called it index1.php.
-
jonnyfortis
- Forum Contributor
- Posts: 462
- Joined: Tue Jan 10, 2012 6:05 am
Re: wordpress blogger not showing on homepage
Celauran wrote:Sorry, it's not clear to me what this means. Can you please elaborate?jonnyfortis wrote:the homepage has a wordpress blogger sitting in the main webpage
Why aren't you using version control? Seriously. Take a day or two and learn Git.jonnyfortis wrote:as a precaution before doing anywork on the website i have saved a copy of the webpage (named index.php) and called it index1.php.
the main age is built on php and it has a wordpress blog
Code: Select all
<?
if ($posts)
{
?>
<ul>
<?
foreach ($posts as $post)
{
?>
<li>
<a href="<?= $post->guid ?>">
<?= word_limiter($post->post_title, 10) ?>
<span><?= date('d-m-Y', strtotime($post->post_date)) ?></span>
<strong>read more ></strong>
</a>
</li>
<?
}
?>
</ul>
<?
}
?>this site was prebuilt and i just need to know if i change the homepage it will keep the blog in place