Copywrite
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Would WP de a Security risk in this case?Thanks for the answers. I checked out the link esmi gave. I think I am sorted now, I’ll install it on a sub directory and then for the pages that I want to add components to add the code that grabs the header and inclulde the loop and I will be able to leverage plugins as well. Awesome, cheers!
Forum: Fixing WordPress
In reply to: Would WP de a Security risk in this case?OK thanks so we’ll install it in another folder in ftp: root/wp for example. So it will be accessible on root/wp/index.php
Then to access content from that new wp install on our main domain index page root/index.php we can just query the wp db directly? So to put out most recent posts for example?
ThanksForum: Themes and Templates
In reply to: How to output this sitemap link only on the homepage footer.Thanks for the reply, here is the footer code:
<div class="art-Footer"> <div class="art-Footer-inner"> <a href="<?php bloginfo('rss2_url'); ?>" class="art-rss-tag-icon" title="RSS"></a> <div class="art-Footer-text"> <p> <?php global $default_footer_content; $footer_content = get_option('art_footer_content'); if ($footer_content === false) $footer_content = $default_footer_content; echo $footer_content; ?> </p> </div> </div> <div class="art-Footer-background"> </div> </div> <div class="cleared"></div> </div> </div> <div class="cleared"></div> <p class="art-page-footer"></p> </div> <!-- <?php printf(__('%d queries. %s seconds.', 'kubrick'), get_num_queries(), timer_stop(0, 3)); ?> --> <div><?php wp_footer(); ?> </div> </body> </html>
Forum: Installing WordPress
In reply to: how to have two pages without wordpress, just pure phpOK thank-you. I was thinking if I want to output the latest posts on the pages without wordpress then I can do it by writing some sql and outputting the relevant records from the wp database. Is that proper procedure? Thanks
Forum: Themes and Templates
In reply to: How to output this sitemap link only on the homepage footer.Hi Esmi,
Footer wp-admin is found when I login to mydomain.com/wp-admin.Then I click on Appearance > Footer
Thanks
Forum: Themes and Templates
In reply to: How to output this sitemap link only on the homepage footer.Thanks for the answer. I am a bit confused.
This is what I now have on index.php:<?php if ( is_home() ) : get_footer('home'); else : get_footer(''); endif; ?>
Then on the footer I have:
<?php wp_footer(); ?>
Then I have this code on the footer wp-admin:
<?php wp_footer(); ?> <?php if ( is_home() AND !is_paged() ) { ?> <a href="/sitemap.xml">Sitemap</a> <?php } ?>
I also created a file called footer-page.php
The code always shows the link on both the front page and the inside page whether it is is_home or is_frontpage
How can I make this work? Thanks
Forum: Themes and Templates
In reply to: How to output this sitemap link only on the homepage footer.One given to me by a friend
Forum: Themes and Templates
In reply to: How to output this sitemap link only on the homepage footer.If I put the code on the WordPress Admin
Appearance Footer file then the Sitemap text and link is shown on all pages not on the index page.Forum: Themes and Templates
In reply to: How to output this sitemap link only on the homepage footer.Hi Esmi,
The footer.php file I added this code:<?php wp_footer(); ?> <?php if ( is_home() AND !is_paged() ) { ?> <a href="sitemap.xml">Sitemap</a> <?php } ?>
Thanks
Forum: Themes and Templates
In reply to: Showing different footer on hompageThanks for the answer, so I have to create a new page and put it in the domain root? The one that is already in the wp-admin is the first one(get_footer(‘home’))?
<?php if(is_home()) : get_footer('home'); else : get_footer('footerinside.php'); endif; ?>
Forum: Themes and Templates
In reply to: How to output this sitemap link only on the homepage footer.Thanks for the reply but it still doesn;t work (it is the same code surely?!)