Results 1 to 4 of 4

Thread: Omit AD Poster information if user is not logged in

  1. #1
    Thread Starter
    Expired Customer mgiliberto's Avatar
    Join Date
    Jan 2016
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Omit AD Poster information if user is not logged in

    Hey,

    So, I'm using Classipress with the Adsplash Child Theme and I'm trying to figure out how to omit the Poster tab if the user is not logged in. I don't want to completely get rid of it but if the user isn't logged in have it say something like "You must be logged in to view this ad poster's profile". --- This is on the sidebar-ad.php file

    I have been trying to use function is_user_logged_in() but I can't get it to work.

    I noticed the contact tab previous to the poster tab uses a CP option to get a template but as far as I can tell the ad poster information doesn't have it's own template.

    Any suggestions would be greatly appreciated!

  2. #2
    Thread Starter
    Expired Customer mgiliberto's Avatar
    Join Date
    Jan 2016
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Moderator ovidiubica's Avatar
    Join Date
    Mar 2011
    Posts
    5,749
    Thanks
    240
    Thanked 1,062 Times in 1,000 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. remove information about the ad poster
    By ianvild in forum Help Using ClassiPress
    Replies: 0
    Last Post: January 17th, 2014, 07:04 PM
  2. Remove information about poster
    By hillangully in forum ClassiPress General Discussion
    Replies: 3
    Last Post: November 3rd, 2013, 02:34 PM
  3. [SOLVED] Is it possible to hide contact information to users not logged in?
    By casper0219 in forum Advanced Custom Fields
    Replies: 1
    Last Post: May 27th, 2013, 09:12 AM
  4. Is it possible to hide contact information to users not logged in?
    By casper0219 in forum ClassiPress General Discussion
    Replies: 4
    Last Post: May 26th, 2013, 10:45 AM
  5. [SOLVED] Add poster information to the ad listing
    By zacky in forum ClassiPress General Discussion
    Replies: 8
    Last Post: April 21st, 2013, 08:04 AM