I’ve been using on my website Richard Bonk’s (btw – thanks for the great job 😉 )Limit Content Plugin to have the Contact Author button on my Listing Pages to appear only for certain Memberships:
[LIMITCONTENT ID=’1′][CONTACT button=1][/LIMITCONTENT]
I’ve notice that the new Mobile Display layout doesn’t support this feature, so the Contact Author button appears to everybody on mobile phones (nullifying the fact of stopping people to write to each other without my authorization 🙂 ). Is there a way to have this working also on mobile devices too? I’m quite happy to get my hands dirty and modify the Themes files, but I couldn’t find the file that was coding the listing pages for the mobile view.
Thanks to all, Carlo 🙂
Look into the files that have the word ‘mobile’ in them such as:
header-mobile.php home-mobile.php search-mobile.php content-mobile.php content-single-listing-mobile.php footer-mobile.php
The one that is most likely to control the listings would be content-single-listing-mobile.php
thanks for your reply… yes I did notice the files with the _mobile naming and had a look at them. Unfortunately I couldn’t find anything that indicated what I was looking for. Will give another look but if there is some other idea I’m here to listen 🙂
Have a nice day Carlo
Hello Carlo Have you tried the [MEMBERSHIP] shortcode eg [MEMBERSHIP ID=”1,2,3″][CONTACT button=1] [/MEMBERSHIP]
Hi Josh! The shortcode I used works just fine. The problem is that the Mobile View doesn’t support shortcodes in general… so on the normal website everything is as I want it but on mobiles I get a “standard mobile page” that is not customizable. For now I’ve solved the issue by deleting the file content-single-listing-mobile.php, making a copy of the file content-single-listing.php and renaming it as content-single-listing-mobile.php. What that does is to force on the Mobile interface the responsive listing page with all of his shortcodes. Thought this as a temporary solution, while trying to understand how the file was set-up… but have to say that it looks quite nice, so I might keep it as final 😉
Thanks for sharing 🙂
Has anyone found a more proper solution for this? Still an issue, unable to add shortcodes in the mobile view… the switch to responsive view is less than ideal.
The mobile version is still on beta version. There’s no option to have shortcode on mobile view yet.
Start your new website today!