Advertisement:

Author Topic: add "Post Your Ads" Button in NewCorp Theme of Osclass.  (Read 1242 times)

ashishbafna619

  • Newbie
  • *
  • Posts: 6
add "Post Your Ads" Button in NewCorp Theme of Osclass.
« on: January 06, 2014, 04:25:21 pm »
Hello Friends,

I am using OsClass 3.2.2,

I installed new theme NewCorp for my Job Agency. But the button  "Post Your Ads" disappeared. Friends please guide me to add "Post Your Ads" Button in NewCorp Theme of Osclass.

Any help will be appreciated.

sheyad

  • Newbie
  • *
  • Posts: 10
Re: add "Post Your Ads" Button in NewCorp Theme of Osclass.
« Reply #1 on: November 11, 2014, 10:19:43 am »
Edit
oc-content>>>themes>>>newcorp>>>header.php

add line : <li class="publish"><a href="<?php echo osc_item_post_url_in_category() ; ?>"><?php _e("Post Job (free)", 'bender');?></a></li>

Save it. Done!!!

tomshaft

  • Hero Member
  • *****
  • Posts: 862
  • Osshaft for Osclass - Add 650 posts to my total
Re: add "Post Your Ads" Button in NewCorp Theme of Osclass.
« Reply #2 on: November 11, 2014, 02:00:51 pm »
I could be wrong but there would have to be more files added to the newcoirp theme to be able to post ads. Newcorp theme does not include item-post.php, item-edit.php, etc. so adding a line to the head.php would point to non-existing files. also the added line should be changed from "bender" to 'newcorp'.

Above could be accomplished with file additions and editing.

Tom