WordPress.org

Ready to get started?Download WordPress

Forums

Bootstrap Ultimate
[resolved] 'Highlights' anyway to make it link to category pages? (5 posts)

  1. b0720tm
    Member
    Posted 4 months ago #

    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!

  2. eminozlem
    Member
    Theme Author

    Posted 4 months ago #

    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(
  3. b0720tm
    Member
    Posted 4 months ago #

    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.

  4. eminozlem
    Member
    Theme Author

    Posted 4 months ago #

    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.

  5. Jmcmillan7
    Member
    Posted 1 week ago #

    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

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.