There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021
Hi friends
I need to hide the links to visitors on previous change a line in Article.php as I do on Atahualpa?
Thank you
Line to necessity change is
PHP Code:
<?php
global $user_ID, $user_identity;
get_currentuserinfo();
if (!$user_ID):
?>
#2
Apr 19, 2009, 09:33 AM
Flynn
3,768 posts · Oct 2008
Munich, Germany
Not sure where you want to put that code but if you need a article.php, you can make a copy of index.php as article.php and upload that.
#3
Apr 19, 2009, 09:40 AM
DDL2006
2 posts · Apr 2009
so I can replace index.php with article.php?
or add?
#4
Apr 20, 2009, 09:58 PM
Flynn
3,768 posts · Oct 2008
Munich, Germany
index.php must stay, you can add page templates. A "articles.php" would be automatically used by Wordpress, when available in the theme's rot directory, for a page with the page slug (the name under which the page appears in a permalink URL) "articles"