Support Forums - Classified Ads Script Osclass
Unread
New Replies
Osclass Market
Download Osclass
Documentation
Home
Help
Search
Login
Register
How to hide the Phone number block
Support Forums - Classified Ads Script Osclass
Osclass theme support
Zara Osclass Responsive Theme
How to hide the Phone number block
Match all words
Match any words
Most relevant results first
Largest topics first
Smallest topics first
Most recent topics first
Oldest topics first
Advanced
Unread posts
New replies
My topics
My posts
Print
Pages: [
1
]
Larry12
13 posts
How to hide the Phone number block
«
on:
April 13, 2018, 06:47:43 PM »
Hello,
How can I hide the phone number block, only when the field input is empty. So, instead of the 'No phone number' message I want to delete the whole block with the phone icon.
Logged
MB Themes
Support team
17456 posts
Only quality matters
Download Osclass
Re: How to hide the Phone number block
«
Reply #1 on:
April 16, 2018, 07:54:34 AM »
@Larry
Code:
[Select]
if( $phone <> '') {
... hide code
}
or
Code:
[Select]
if( $phone <> __('No phone number', 'zara')) {
.. hide code
}
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Delgadonut
2 posts
Re: How to hide the Phone number block
«
Reply #2 on:
April 17, 2018, 05:51:55 AM »
Thanks for the way to hide. It's very useful to me. It helped me a lot.
Logged
gclub
Print
Pages: [
1
]