• Resolved SebvandenBerg

    (@sebvandenberg)


    Richie,
    first of all, thank you very much for this very nice theme. I am really having fun with it. Great job!

    I am having an unexpected problem though. Basically I manged to site up everything just like I wanted, including 5 featured categories on the homepage. This I achieved by selecting a category for the first 5 ‘home settings’ on the Mesocolumn theme-options page. I left the remaining 5 ‘home settings’ in their default state (which is: ‘choose a category’). And this worked just fine, I saw the 5 categories on my home page. Perfect.

    Until yesterday, all of a sudden I see 10 categories on my home page. Even though the 5 unwanted ones are still in their default setting. It just shows my last post in the 5 unwanted categories.

    I even tried setting the 5 unwanted categories to something (which made my selections show on the home page), and then deselecting them again. The result is the same as before.

    I have no idea what I did to cause this behavior. Do you have any idea?
    If not, could you point me to the file and location where the number of featured categories that are to be shown on the homepage are checked and where these categories are in fact shown? I have been searching all evening and haven’t been able to sort this.

    I hope you can help.
    Many thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Richie KS

    (@rkcorp)

    working fine in my end, are you using child theme? maybe some pre version template need update.

    Thread Starter SebvandenBerg

    (@sebvandenberg)

    Hi Richie,
    thanks for your reply!
    I am using your most recent versions 1.6.1. in its standard version. I have basically build something similar as your Mesocolumn example. So, I am not using a child theme.

    The strange thing is that it used to be just fine at first. I have no clue what I did to make it show the maximum number of 10 featured homepage categories.

    I have now found the database location where you store the settings. The settings are listed in the database as I have defined them on the settings page. That means that the categories locations that I do not want to show contain the default values: “choose a category” and “select a number”. I assume that this is correct. Therefore, I assume it is an issue in the coding.

    Could you please point me to the PHP file and rough location where the HTML code for these featured categories is generated?

    Thanks!

    Theme Author Richie KS

    (@rkcorp)

    hi first see if there’s a front-page.php in theme, if yes, delete it, maybe left over from theme updates.

    the featured category code is in lib/templates/home-feat-cat.php

    Thread Starter SebvandenBerg

    (@sebvandenberg)

    Thanks, Richie. That really helped me solve the problem.
    There was no front-page.php, nothing like that. I re-installed the home-feat-cat.php file and that solved the problem.

    I now understand where I caused the issue myself. See, I have been changing the language of your Theme into Dutch. This means that I have edited most PHP files. I clearly messed up in this one file.

    Thanks again for your support.
    Have a great day.

    Theme Author Richie KS

    (@rkcorp)

    i see, yes the ‘select a number’ and ‘choose a font’ is not wrapped in string. so is value for ‘enable’ and ‘disable’, try to keep this value global lang by default.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I can not limit the number of homepage featured categories’ is closed to new replies.