• Resolved gillinghamjamie

    (@gillinghamjamie)


    Hey Ben,

    I’m wondering if you know how I can go about adding category links to my widgets in both sidebars (above the post title), the way the category links appear in red in the main blog loop? I did that by inserting a php snippet in the backend, but I can’t seem to find the equivalent place to add that php for the sidebars.

    Cheers,

    Jamie

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Hey Jamie,

    WordPress has a built-in Category widget you could use. Is it missing any features you need for your site?

    Alternatively, you can use the HTML widget to hardcode the HTML yourself since this widget doesn’t need to update dynamically.

    Thread Starter gillinghamjamie

    (@gillinghamjamie)

    Thanks, @bensibley. I figured it out.

    Now that I have the link appearing, I’m wondering if you know how I can change the order so that it’s

    Category
    Title
    Byline
    Excerpt

    Rather than

    Title
    Byline
    Category
    Excerpt

    Thanks,

    Jamie

    Theme Author Ben Sibley

    (@bensibley)

    Hi Jamie,

    The following CSS should work for this rearrangement:

    .sidebar-left .widget_ct_mission_news_post_list .top-inner {
      position: relative;
      margin-top: 32px;
    }
    .sidebar-left .widget_ct_mission_news_post_list .post-categories {
      position: absolute;
      top: -24px;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Categories in recent post expanded widget’ is closed to new replies.