Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Portfolio Categories not working

CategoriesportfolioTower
    • 9 years, 3 months ago tamarwallace
      Participant

      Expired

      Hi –

      I’ve been adding items to my portfolio section, and they’re showing up just fine. The list of categories is showing up just fine, as well. However, when I click on any of the categories themselves, I just get a blank page. I can see that the HTML for the categories is “, instead of the category, but I have no idea how to fix that.

      Any help would be greatly appreciated.

      Thank you!

      (URL in next post.)

    • 9 years, 3 months ago tamarwallace
      Participant

      Expired

      Here is the URL for the page:

      Also, what I wrote above is:

      I can see that the HTML for the categories is <a href="#">, instead of the category, but I have no idea how to fix that.

      • This reply was modified 9 years, 3 months ago by Mirela.
    • 9 years, 3 months ago Mirela
      Participant

      Hello,

      The categories in portfolio are not normal links. They are generated from js scripts. That is why you see only the # link. I see that you have a javascript error in this page. Please deactivate all third party plugins and try again. One of them may be conflicting with theme scripts.
      Let us know.

      Best regards!

    • 9 years, 3 months ago tamarwallace
      Participant

      Expired

      I just deactivated all of my plugins – first just the ones I installed after installing the theme, then I deactivated the plugins required WITH the theme…and I’m still having a problem.

      Are the categories working for you, or no?

      Thanks for your help!

    • 9 years, 3 months ago tamarwallace
      Participant

      Expired

      This reply has been marked as private.
    • 9 years, 3 months ago Mirela
      Participant

      Hello,

      You have a js error in your site. See screenshot. Did you add any custom code? Please send us your wp credentials in a private reply. So we can give it a closer look.
      This issue does not happen on our side.

      Best regards!

    • 9 years, 3 months ago tamarwallace
      Participant

      Expired

      This reply has been marked as private.
    • 9 years, 3 months ago Mirela
      Participant

      Hello,

      I switched to parent theme instead of child, and the portfolio categories work now. Please check this test page.
      The included child theme does not have this issue. Did you edit any of it’s code?
      Let us know.

      Best regards!

    • 9 years, 3 months ago tamarwallace
      Participant

      Expired

      Yes – I’ve made all of the changes to the code that you’ve given me in previous threads to the child theme. So that’s the theme I need to use.

    • 9 years, 3 months ago tamarwallace
      Participant

      Expired

      I do appreciate your help, but as I said, with the exception of CSS changes, any changes to the PHP file were edits from you in previous threads about the portfolio page. I just found the code you told me to find and replaced it with the new code you provided. So if there’s errors caused by the code you provided, I don’t know how to resolve that.

    • 9 years, 3 months ago tamarwallace
      Participant

      Expired

      And I had to go back and reactivate the child theme. That’s the theme I need to work with.

    • 9 years, 3 months ago Mirela
      Participant

      Hello,

      You can remove the changes made for the portfolio from your child theme. So it call out the parent functions. Then try to add the changes one by one and check which one of the changes made (and the files added to child theme) are conflicting with the parent scripts.
      I see in this topic of yours, that we made some custom edits to portfolio. I can assure you that these changes do not give any issue made from the parent theme. We tested them out before giving it to you and this does not happen.
      Let us know.

      Best regards!

    • 9 years, 3 months ago alexjochai3891
      Participant

      Expired

      Hi Mihaila,

      I am having the exact same issue with the portfolio page – it works fine when I have it show only one category but if I add multiple categories and switch between menus to isolate those photos the page turns blank without any pictures.  I did not make any changes to the purchased theme and used the dummy import file so not sure what’s going on – also deactivated some of the other plugins and same problem.

      See https://specialfastenersource.com/portfolio/# to get a better idea of what I’m referring to.  Any ideas on what I can do to fix it?

      Thanks,

       

      Alex

    • 9 years, 3 months ago Mirela
      Participant

      Hello,


      @alexjochai3891
      ,
      Can you please be more specific? I see in the attached page that all available portfolio items have the same category. When you click on that specific category the items do display.
      Did you manage to fix your issue?
      Let us know.

      Best regards!

    • 9 years, 3 months ago alexjochai3891
      Participant

      Expired

      It only shows the photos for “special socket & shoulder bolts” but the other categories show a blank page even though I have assigned specific photos to them – you do not see this same issue on your end?

    • 9 years, 3 months ago Mirela
      Participant

      Hello,


      @alexjochai3891
      ,
      What i mean is that in “View All” tab where all categories are shown, i see only one category. And when i click on that category tab, the same items are displayed. That means that you have items of only this category. Is it not like this?
      If you send us your wp credentials in a private reply, we can give it a closer look.
      Let us know.

      Best regards!

    • 9 years, 3 months ago alexjochai3891
      Participant

      Expired

      This reply has been marked as private.
    • 9 years, 3 months ago alexjochai3891
      Participant

      Expired

      Any feedback Mihaila?  I never got a response to the private comment from yesterday morning…

    • 9 years, 3 months ago Mirela
      Participant

      Hello,


      @alexjochai3891
      ,
      I tried to import Visual Composer but i get this message: “The uploaded file exceeds the upload_max_filesize directive in php.ini“.
      Please check it with your host. The file trying to upload is less then 5Mb. Let us know.

      PS: We reply to topics based on their arrival time. The oldest first. Our working hours is 9:00-17:00 from Monday to Friday. Please consider the timezone differences as well. We ask for your consideration and patience while we are doing our best to reply asap to all of our customers.

      Best regards!

    • 9 years, 3 months ago alexjochai3891
      Participant

      Expired

      HI Mihaila,

       

      I ended up reinstalling the theme and visual composer, which still required an additional update so I just purchased the VC license to avoid doing this back and forth messages for another week.  Can you please just help me resolve the portfolio issue discussed above using my username and password provided in the prior private message?

      Each category should show photos, not only one.  Please assist me with resolving this.

      Thank you,

      Alex

    • 9 years, 2 months ago Mirela
      Participant

      Hello,


      @alexjochai3891
      ,

      Please go to file includes/core/codeless_routing.php and find these lines:

      if(!function_exists('codeless_set_portfolio_query')){
          function codeless_set_portfolio_query()
      	{
      		global $cl_redata;
      		
      		$terms = $cl_redata['portfolio_categories'];
      
      		$p_per_page = 6;
      		switch($cl_redata['portfolio_columns']){
      			case '1':
      				$p_per_page = 3;
      			    break;
      			case '2':
      				$p_per_page = 6;
      				break;

      Edit this line: $p_per_page = 6; to this: $p_per_page = 99;

      NOTE: This is Tower support forum, you have Specular theme installed. Please be careful to write at your theme’s support forum. Switching like this causes us to make mistakes in giving the right solution, or at the very least lose time. Also is confusing to other forum members trying to find solutions to their issues.
      Thank you for understanding and cooperating.

      Best regards!

    • 9 years, 2 months ago alexjochai3891
      Participant

      Expired

      Perfect, thank you!  Problem solved and I will make sure to post to secular theme going forward.

      Alex

Viewing 21 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password