Page 1 of 1

wordpress blogger not showing on homepage

Posted: Tue Oct 07, 2014 4:53 am
by jonnyfortis
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?

Re: wordpress blogger not showing on homepage

Posted: Tue Oct 07, 2014 7:19 am
by Celauran
jonnyfortis wrote:the homepage has a wordpress blogger sitting in the main webpage
Sorry, it's not clear to me what this means. Can you please elaborate?
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.
Why aren't you using version control? Seriously. Take a day or two and learn Git.

Re: wordpress blogger not showing on homepage

Posted: Wed Oct 08, 2014 7:58 am
by jonnyfortis
Celauran wrote:
jonnyfortis wrote:the homepage has a wordpress blogger sitting in the main webpage
Sorry, it's not clear to me what this means. Can you please elaborate?
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.
Why aren't you using version control? Seriously. Take a day or two and learn Git.

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>
                            <?
                        }
                        ?>
>>Why aren't you using version control? Seriously. Take a day or two and learn Git.
this site was prebuilt and i just need to know if i change the homepage it will keep the blog in place