Results 1 to 4 of 4

Thread: problem with projects listings templates

  1. #1
    Thread Starter
    Expired Customer abhims2's Avatar
    Join Date
    Jul 2014
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    problem with projects listings templates

    Hi,

    I have created a page called browse-tasks and attached 'projects listings' template. now, when I browse to that page, i get an error:

    Fatal error: Call to a member function have_posts() on a non-object in C:\xampp\htdocs\wordpress\wp-content\themes\hirebee\loop-project.php on line 20

    can you tell me how to fix that error?

    I tried adding line no:19 -- $projects= new WP_Query( array( 'post_type' => array( 'project')) );
    That worked fine and generated that page fine. however, after that search options ( in the_hrb_projects_sort_dropdown) didn't seem to work..

    I also noticed that your 'Find work' menu item is linked to ..../projects/. why is that? why you didn't have a page and then linked it to projects listings template?

    Lastly, can I please get a copy of your template hierarchy that you are using for hirebee theme?

  2. #2
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Expired Customer abhims2's Avatar
    Join Date
    Jul 2014
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 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. Checkout my projects
    By verjon in forum Showcase & Feedback
    Replies: 7
    Last Post: February 15th, 2012, 03:49 PM