ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Need help hiding weblog entries from navigation

January 13, 2012 1:04am

Subscribe [1]
  • #1 / Jan 13, 2012 1:04am

    shakabailbonds

    2 posts

    {exp:weblog:entries weblog="xx" orderby="title" sort="asc" limit="15" disable="member_data|trackbacks" dynamic="off" category="28" search:body="not weblog_entry_name_goes_here"}

    I have used the above code successfully in hiding weblog entries from a navigation portion of a website I am working on.

    It only searches the body though.  I need something that will search for the post title instead and hide it from the navigation that I’m using.

    Does anyone know how I can accomplish this?

  • #2 / Jan 13, 2012 3:14am

    danieljohnbarnes

    151 posts

    Would this not work:

    search:title="not weblog_entry_name_goes_here"

    ?

    Or:

    search:url_title="not url_title_goes_here"

    ?

  • #3 / Jan 13, 2012 4:10am

    shakabailbonds

    2 posts

    Well I figured it out another way, thanks.

    I ended up just using the search:body and using text from within that blog entry which ended up hiding it from the nav.  It seems like such a hack job but at least it works.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases