Results 1 to 5 of 5

Thread: Help With Email Subscribe Code For ClassiPress

  1. #1
    Thread Starter
    palent's Avatar
    Join Date
    Oct 2011
    Location
    United States
    Posts
    51
    Thanks
    2
    Thanked 2 Times in 2 Posts

    Help With Email Subscribe Code For ClassiPress

    If found the following code for using Subscribe2 in the ClassiJobs template and would like to know how to change it for ClassiPress:

    Tutorial - E-mail Support (E-mailing Job Listings to Subscribers)

    So after quite a struggle I figure out how to make JobRoller E-mail New Job Postings to a list of subscribers automatically.

    First off Install the Subscribe2 Plugin on your Wordpress: WordPress › Subscribe2 « WordPress Plugins
    (I like subscribe2 it allows you to send individual e-mails for each job or Daily Digests)
    Next You will want to Configure Subscribe2 Per the authors instructions. Two ways to have a "Enter your e-mail to subscribe box" on your JobRoller website. The First is to use a short code and plug it into a page, such as the About page. The second is to use a widget it the sidebar. Personally I prefer the widget.
    Once Subscribe to is fully configured it will by default sent e-mails for regular "Posts" but not "Jobs." In order for Subscribe2 to e-mail Jobs as well copy and paste the exact following code into your 'Theme Functions' (Functions.php) file. Be sure to paste the code beneath these lines:

    /**
    * add any of your custom functions below this section
    */

    Here is the Code:
    Code:

    function my_post_types($types) {
    $types[] = 'job_listing';
    return $types;
    }

    add_filter('s2_post_types', 'my_post_types');

    Update File

    Thats It! You're done. However, please note that you will not see a Subscribe2 Dialog in the "New Job" Section like you would in the "New Post" section. However, e-mails will be sent to your subscribers when you post new jobs.


    Can anyone help me with this?

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,978
    Thanks
    170
    Thanked 3,407 Times in 3,278 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    Veteran ajamm's Avatar
    Join Date
    Nov 2011
    Location
    New Zealand
    Posts
    309
    Thanks
    26
    Thanked 32 Times in 29 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Member mossj88's Avatar
    Join Date
    Feb 2012
    Location
    England
    Posts
    60
    Thanks
    3
    Thanked 9 Times in 7 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    To be updated...

    P.S Chive On!

  5. #5
    Veteran ajamm's Avatar
    Join Date
    Nov 2011
    Location
    New Zealand
    Posts
    309
    Thanks
    26
    Thanked 32 Times in 29 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Subscribe to ads via email?
    By screenrage in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: April 5th, 2012, 04:03 PM
  2. RSS subscribe link does not work
    By waikitchung in forum Report JobRoller Bugs
    Replies: 3
    Last Post: March 10th, 2011, 04:32 PM