Results 1 to 8 of 8

Thread: Changing APP_POST_TYPE Doesn't do anything ad_listing

  1. #1
    Thread Starter
    Member jonduckett's Avatar
    Join Date
    Mar 2011
    Location
    United Kingdom
    Posts
    51
    Thanks
    0
    Thanked 3 Times in 2 Posts

    Changing APP_POST_TYPE Doesn't do anything ad_listing

    Hi,

    in includes/theme-functions.php

    I would like to change the custom post type

    Code:
    if (!defined('APP_POST_TYPE'))
        define('APP_POST_TYPE', 'ad_listing');
    Change to lets say:

    Code:
    if (!defined('APP_POST_TYPE'))
        define('APP_POST_TYPE', 'test');
    It doesn't seem to affect anything.

    When I change it and save then create an new ad it still saves as the custom post type as 'ad_listing' and not 'test'?

    Any idea's?

    I'm just experimenting

    Thanks
    Nathan Duckett

  2. #2
    Senior Member philip937's Avatar
    Join Date
    Dec 2011
    Location
    United Kingdom
    Posts
    198
    Thanks
    2
    Thanked 6 Times in 5 Posts

    Changing APP_POST_TYPE Doesn't do anything ad_listing

    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    meloniq's Avatar
    Join Date
    May 2011
    Location
    Poland
    Posts
    1,079
    Thanks
    17
    Thanked 178 Times in 159 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Have Clipper website?! --> You need coupons importer!!!
    See available integrations with affiliate networks: Commission Factory, CJ Affiliate, Daisycon, Rakuten LinkShare, ShareASale, Tradedoubler, TradeTracker

    Payment gateways: Bitpay, Dotpay, PayU PL, Przelewy24, Skrill

    me @ AT || meloniq.net

  4. #4
    Thread Starter
    Member jonduckett's Avatar
    Join Date
    Mar 2011
    Location
    United Kingdom
    Posts
    51
    Thanks
    0
    Thanked 3 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Thread Starter
    Member jonduckett's Avatar
    Join Date
    Mar 2011
    Location
    United Kingdom
    Posts
    51
    Thanks
    0
    Thanked 3 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    Thread Starter
    Member jonduckett's Avatar
    Join Date
    Mar 2011
    Location
    United Kingdom
    Posts
    51
    Thanks
    0
    Thanked 3 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #7
    Senior Member philip937's Avatar
    Join Date
    Dec 2011
    Location
    United Kingdom
    Posts
    198
    Thanks
    2
    Thanked 6 Times in 5 Posts

    Changing APP_POST_TYPE Doesn't do anything ad_listing

    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #8
    meloniq's Avatar
    Join Date
    May 2011
    Location
    Poland
    Posts
    1,079
    Thanks
    17
    Thanked 178 Times in 159 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Have Clipper website?! --> You need coupons importer!!!
    See available integrations with affiliate networks: Commission Factory, CJ Affiliate, Daisycon, Rakuten LinkShare, ShareASale, Tradedoubler, TradeTracker

    Payment gateways: Bitpay, Dotpay, PayU PL, Przelewy24, Skrill

    me @ AT || meloniq.net

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need code to echo images from single-ad_listing / Ad in order to print - Almost there
    By cgatherings in forum ClassiPress General Discussion
    Replies: 3
    Last Post: December 16th, 2016, 07:24 AM
  2. 3.0.5.2 child theme and single-ad_listing.php question
    By mark1975 in forum ClassiPress General Discussion
    Replies: 16
    Last Post: August 15th, 2014, 07:04 PM
  3. [MOD NEEDED] Remove the Price when item is sold (from single-ad_listing; not loop-ad_listing) $
    By cgatherings in forum ClassiPress General Discussion
    Replies: 5
    Last Post: February 11th, 2012, 11:07 AM
  4. One more feature on single-ad_listing
    By casa in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: September 9th, 2011, 08:19 AM