Page 1 of 2 12 LastLast
Results 1 to 10 of 15
Like Tree2Likes

Thread: Custom sidebar for Create Listing page without plugins

  1. #1
    Thread Starter
    adams_44's Avatar
    Join Date
    Jul 2010
    Location
    Scottsdale, AZ
    Posts
    163
    Thanks
    38
    Thanked 47 Times in 31 Posts

    Custom sidebar for Create Listing page without plugins

    I've always wanted to have a sidebar on my create-listing page where I could add few text widgets with instructions for business owners on filling out the submission form.
    I know some of you want to add your own sidebar on that page too, and you can do it with the help of plugins, but here's a little tutorial on how to achieve that with only minor modifications to the code (kudos to overserv for mentioning this method, but I figured I would do a step-by-step tutorial also).

    1. You need to register a new sidebar.
    Open your core.php file and find line 194, where all sidebars are listed. Add this line after the last registered sidebar

    PHP Code:
    va_register_sidebar'create-listing'__'Create Listing Sidebar'APP_TD ), __'The sidebar for Create Listing Form'APP_TD ) ); 
    That will create a new sidebar called "Create Listing Sidebar" that you can now see in your backend admin under Appearance > Widgets

    create_listing_sidebar.jpg

    2. Add a sidebar to Create Listing page
    Open the form-listing.php and add this at the very end (after </div><!-- #content -->)

    PHP Code:
    <div id="sidebar">
    <?php dynamic_sidebar'create-listing' ); ?>
    </div>
    Now you should have your own sidebar for that page. I added a few text widgets explaining each section of the submission form to help with the process.

    create_listing_page.jpg
    lerime1328 likes this.
    azlogistics.com - Your A to Z Logistics Directory (Vantage) | azoffroading.com - Arizona off-roaders' site (multisite: Vantage + Classipress + Vantage)

  2. The Following 11 Users Say Thank You to adams_44 For This Useful Post:

    5starruk (November 20th, 2012), adriansr (October 8th, 2012), annonse (September 17th, 2012), ashniapas (February 4th, 2013), barukar (September 10th, 2012), jblackwell5338 (October 8th, 2012), johno69 (September 17th, 2012), jomarkosabel (September 10th, 2012), laura (September 10th, 2012), lerime1328 (July 31st, 2014), tallis1970 (January 25th, 2016)

  3. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,702
    Thanks
    166
    Thanked 3,390 Times in 3,261 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.

  4. #3
    laura's Avatar
    Join Date
    Apr 2010
    Location
    Michigan
    Posts
    2,594
    Thanks
    60
    Thanked 279 Times in 254 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #4
    Veteran barukar's Avatar
    Join Date
    Sep 2010
    Location
    Brasil, São Paulo, SP
    Posts
    6,785
    Thanks
    186
    Thanked 742 Times in 623 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    -------------------------------------------------------------------------------------------
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

  6. #5
    Expired Customer johno69's Avatar
    Join Date
    Sep 2012
    Location
    Australia
    Posts
    576
    Thanks
    47
    Thanked 109 Times in 81 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #6
    Expired Customer wumada's Avatar
    Join Date
    Sep 2012
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #7
    jblackwell5338's Avatar
    Join Date
    Aug 2012
    Location
    United States
    Posts
    104
    Thanks
    5
    Thanked 2 Times in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  9. #8
    jblackwell5338's Avatar
    Join Date
    Aug 2012
    Location
    United States
    Posts
    104
    Thanks
    5
    Thanked 2 Times in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!
    [CENTER]Party and Event Guide
    Services for your next event![/CENTER]

  10. #9
    Senior Member jdwired's Avatar
    Join Date
    Jan 2011
    Location
    United States
    Posts
    219
    Thanks
    67
    Thanked 33 Times in 26 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    lerime1328 likes this.

  11. The Following 4 Users Say Thank You to jdwired For This Useful Post:

    dorothy (April 2nd, 2014), lerime1328 (July 31st, 2014), tallis1970 (January 25th, 2016), wenvet (February 6th, 2014)

  12. #10
    Veteran jamesweb's Avatar
    Join Date
    Jul 2010
    Location
    Ireland
    Posts
    459
    Thanks
    84
    Thanked 9 Times in 9 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to create Sidebar for home page only
    By mzammit in forum JobRoller General Discussion
    Replies: 11
    Last Post: April 19th, 2013, 12:50 PM
  2. Create Listing page sidebar...
    By laura in forum Vantage General Discussion (Legacy)
    Replies: 22
    Last Post: September 10th, 2012, 05:03 PM
  3. [SOLVED] Create listing sidebar (which is it?)
    By aguerram in forum Report Vantage Bugs (Legacy)
    Replies: 9
    Last Post: July 8th, 2012, 09:11 PM
  4. How to create Sidebar for home page only
    By mzammit in forum JobRoller General Discussion
    Replies: 10
    Last Post: March 14th, 2012, 05:48 AM
  5. Create a page without sidebar
    By tigress4 in forum Report JobRoller Bugs
    Replies: 1
    Last Post: July 1st, 2011, 12:46 AM