Advertisement:

Author Topic: [solved] How to Deactivate Publish your Ad for Free Button  (Read 1437 times)

alzamls

  • Newbie
  • *
  • Posts: 31
[solved] How to Deactivate Publish your Ad for Free Button
« 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!
« Last Edit: September 09, 2014, 12:40:07 am by alzamls »

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: How to Deactivate Publish your Ad for Free Button
« Reply #1 on: August 31, 2014, 11:27:06 pm »
Hi,

What theme are you using?

Regards

alzamls

  • Newbie
  • *
  • Posts: 31
Re: How to Deactivate Publish your Ad for Free Button
« Reply #2 on: September 01, 2014, 09:47:09 pm »
THANKS for reply. It is Bender and created a child called bender_child.

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: How to Deactivate Publish your Ad for Free Button
« Reply #3 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

alzamls

  • Newbie
  • *
  • Posts: 31
Re: How to Deactivate Publish your Ad for Free Button
« Reply #4 on: September 04, 2014, 05:44:06 pm »
THANKS FOR YOUR SUPPORT Teseo! However, I already tried that solution and didn't resolve it... :-(

alzamls

  • Newbie
  • *
  • Posts: 31
Re: How to Deactivate Publish your Ad for Free Button
« Reply #5 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!