Osclass forums

Support forums => Themes => Bender => Topic started by: alzamls on August 31, 2014, 11:01:45 pm

Title: [solved] How to Deactivate Publish your Ad for Free Button
Post by: alzamls on August 31, 2014, 11:01:45 pm
HELLO!
Need help to deactivate Publish your Ad for Free button. Your SUPPORT will be GREATLY APPRECIATED!
THANKS!
Title: Re: How to Deactivate Publish your Ad for Free Button
Post by: teseo on August 31, 2014, 11:27:06 pm
Hi,

What theme are you using?

Regards
Title: Re: How to Deactivate Publish your Ad for Free Button
Post by: alzamls on September 01, 2014, 09:47:09 pm
THANKS for reply. It is Bender and created a child called bender_child.
Title: Re: How to Deactivate Publish your Ad for Free Button
Post by: teseo on September 01, 2014, 10:15:17 pm
Then make a copy of Bender header.php to bender_child folder and delete this block in the copy:

Code: [Select]
<?php if( osc_users_enabled() || ( !osc_users_enabled() && !osc_reg_user_post() )) { ?>
            <li class="publish"><a href="<?php echo osc_item_post_url_in_category() ; ?>"><?php _e("Publish your ad for free"'bender');?></a></li>
            <?php ?>

Regards
Title: Re: How to Deactivate Publish your Ad for Free Button
Post by: alzamls on September 04, 2014, 05:44:06 pm
THANKS FOR YOUR SUPPORT Teseo! However, I already tried that solution and didn't resolve it... :-(
Title: Re: How to Deactivate Publish your Ad for Free Button
Post by: alzamls on September 08, 2014, 11:08:17 pm
HELLO teseo!
I have an update... Used a different theme called Bender Black so I applied your solution and worked. However, when tested the theme in a mobile device, it still shows "Publish your Ad for Free" Button... Wonder if you could help me out... :-) ??
THANKS in advance for all your SUPPORT!