• Resolved morgana82

    (@morgana82)


    I configured a link library as a widget. On the front page, the categories aren’t bolded, but on the “Tanz-Archiv” or “Fotos” page, they’re defined as titles (as they should be). Why is this, and how can I adjust it? Thank you so much for the great plugin and your help.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Yannick Lefebvre

    (@jackdewey)

    When using as a widget like this, Link Library is not loading its stylesheet. There is a setting under the plugin global options to load its styles and scripts on other pages to resolve this issue. The field is called “Additional pages to load styles and scripts”. It accepts a list of page IDs where it should load the styles and scripts. You would need to look up the numeric ID for the page that you are using as your front page and add it to this field, then save global options to see the proper styling. Let me know if this resolves the issue.

    Thread Starter morgana82

    (@morgana82)

    Thank you for the reply. I’ve entered the page IDs. It works for all of them except the front page (ID 2) and the calendar page (Kalender) . The calendar page is a custom link to the URL slug (permalink) for events in “the events calendar” plugin.

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Digging into my code a bit deeper, there is a special “id” that can be used to load the styles on the front page, which is the string ‘front’, without the quotes.

    As for the custom events link, I did a bit of searching and did not find an easy PHP API function to call to test if that page is being rendered. Perhaps you can ask their support if this exists? Like a is_events_calendar() function. If there is, then I could add code to support checking for this condition

    Thread Starter morgana82

    (@morgana82)

    I’ve now entered the following in“ Additional pages to load styles and scripts”:
    front,89,91,93

    Unfortunately, it’s not working. Is there anything else I need to adjust?

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    I’ll have to dig deeper into this issue but won’t have time until next week. I’ll let you know what I find.

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    In my tests, writing front in the list of page IDs does include the Link Library styles in the front page of my test site. Perhaps you are using a caching plugin for your site and the cache needs to be flushed for it to appear properly after making the change?

    Another option would be to copy the styles of Link Library to your site’s stylesheet.

    Thread Starter morgana82

    (@morgana82)

    I’ve now copied the Link Library stylesheet into my website’s stylesheet. Everything works perfectly now. Thank you very much!

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Glad to hear that solution did the trick. Please consider donating to support this plugin’s development

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Category Title Font bold’ is closed to new replies.