Wordpress Themes - WP Forum at BFA
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

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Excerpts, Read more, Pagination »

Hide links on visitors


  #1  
Old Apr 19, 2009, 08:55 AM
DDL2006
 
2 posts · Apr 2009
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  
Old Apr 19, 2009, 09:33 AM
Flynn's Avatar
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  
Old Apr 19, 2009, 09:40 AM
DDL2006
 
2 posts · Apr 2009
so I can replace index.php with article.php?
or add?
  #4  
Old Apr 20, 2009, 09:58 PM
Flynn's Avatar
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"

yoursite.com/articles/

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Analytics not showing new visitors after 2.8 upgrade paulae Plugins & Atahualpa 2 Jul 11, 2009 07:27 AM
[SOLVED] How do I remove or hide the comments box? stevejeffery Forum How-To 2 Jul 1, 2009 12:11 PM
Hide subcategories in right sidebar Radical Sidebars & Widgets 0 May 15, 2009 05:12 AM
hide sticky post footer dyrathror Post-Kicker, -Byline & -Footer 1 Apr 26, 2009 01:08 AM
How to hide wordpress.org and the link in widget META budiary Sidebars & Widgets 2 Feb 16, 2009 03:27 PM


All times are GMT -6. The time now is 10:43 AM.


Powered by vBulletin® Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.