WordPress.org

Support

Support » Themes and Templates » [Resolved] 'Highlights' anyway to make it link to category pages?

[Resolved] 'Highlights' anyway to make it link to category pages?

  • Hi i am messing around with the highlights and in short what im trying to be able to do is have it link to a category page instead of posts, and i have a shop page that i want to link to but it doesnt have a page id, any help would be awesome!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author eminozlem
    Member

    @eminozlem

    Of the top of my head I can suggest 2 ways:

    1- Create posts that display those categories you want with a [shortcode] or something and select those posts in module settings. Either by typing in Include ID’s one by one, or put those posts under the same category.

    2- If you have those “pages” ready, you can add page type to the module by opening
    \bootstrap-ultimate\inc\modules\highlights.php around line 16 insert before

    $high_args = array(
    to

    $types[] = 'page';
    $high_args = array(

    Thank you for the reply! i actually ended up editing the “highlights.php” with my own static html as i dont need the content to change anytime soon.

    Theme Author eminozlem
    Member

    @eminozlem

    Sure, that’s one way to do it, if you’re sure you’re not gonna change ’em, or forget that you hardcoded them.
    Marking as resolved, let me know if you’ve further questions.

    Jmcmillan7
    Member

    @jmcmillan7

    Hello, I am attempting to includes pages into my Highlight area and I cannot seem to get the code mentioned above to work. Can you please check to ensure this is correct?

    Many thanks!
    Johnny

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] 'Highlights' anyway to make it link to category pages?’ is closed to new replies.