Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    RE: is there a shorcode that hides the searchboxes of the enhanced categories above the profile?

    The search is part of the advanced multiple category search addon, not the Enhanced Categories addon. Regardless, you can use the [cn-content] shortcode to display the search dynamically. Here is a link to the documentation page with more detail. The first example should achieve what you are looking to do.

    RE: I would also like to know how to limit the amount of text shown as Profile Info on the results list (currently all text is shown).

    Here’s the link to the Circled template’s documentation on how to control the excerpt length:

    RE: why the same entry is shown twice, once wide and once narrow

    You have the [connections] shortcode on the page twice. Once in a narrow section and once in a wider section in your theme builder. You should use the shortcode only once on a page.

    I hope I have answered your questions thoroughly. Please let me know.

    Thread Starter lutz3000

    (@lutz3000)

    Many thanks for your very quick reply

    RE: why the same entry is shown twice, once wide and once narrow</strong

    >
    solved!

    Here’s the link to the Circled template’s documentation on how to control the excerpt length:

    I am using know this Shortcode:

    <p>[cn_multi_category_search enable_keyword=false category='46|Show All|Choose Country |Searching in Category A: %s,37|Show All|Choose Partner Category|Searching in Category B: %s, 36|Show All|Choose from Partner Type|Searching in Category C: %']</p>
    <p>[connections enable_category_select='FALSE' str_home_phone="xPhone" str_bio_head="Profile" excerpt_length=55]</p>

    but the exerpt is still longer than 55 words

    The first example should achieve what you are looking to do.

    I am not sure , do you point me to [cn-content id=3] ? will this work?

    Plugin Author Steven

    (@shazahm1hotmailcom)

    RE: but the exerpt is still longer than 55 words

    Yes, this would be expected as the feature is smart. It will attempt to truncate the excerpt at the end of a sentence vs. a hard cutoff in the middle. If you need a shorter excerpt, set it to 10 or 12.

    RE: I am not sure , do you point me to [cn-content id=3] ? will this work?

    Do this instead:

    [cn-content][cn_multi_category_search enable_keyword=false category='46|Show All|Choose Country |Searching in Category A: %s,37|Show All|Choose Partner Category|Searching in Category B: %s, 36|Show All|Choose from Partner Type|Searching in Category C: %'][/cn-content]

    I hope this helps! Let me know.

    Thread Starter lutz3000

    (@lutz3000)

    HI Steve,

    no, it’s not working at all, there is only one search box now.
    and it all looks very narrow, I am using this code:
    [cn-content]`[cn_multi_category_search enable_keyword=false category='46|Show All|Choose Country |Searching in Category A: %s,37|Show All|Choose Partner Category|Searching in Category B: %s, 36|Show All|Choose from Partner Type|Searching in Category C: %'][/cn-content]
    <p>[connections enable_category_select=’FALSE’ str_home_phone=”xPhone” str_bio_head=”Profile” excerpt_length=15]</p>`

    Plugin Author Steven

    (@shazahm1hotmailcom)

    I suggest double-checking that the shortcodes are still valid after making the change; it does work.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    I think you have a stray tick mark in there that might be throwing a spanner in the works.

    Thread Starter lutz3000

    (@lutz3000)

    Hello Steve,

    here’s what it looks like now.
    https://www.cryptovision.com/en/clubcv-members/
    The exerpt is now short but super narrow.
    And above the profile are still the three search boxes, and the BIld in the profile is huge. This is the code I use:

    [cn_multi_category_search enable_keyword=false category='46|Show All|Choose country |Searching in Category A: %s,37|Show All|Choose Partner Category|Searching in Category B: %s, 36|Show All|Choose from Partner Type|Searching in Category C: %']
    
    [connections enable_category_select='FALSE' str_home_phone="xPhone" str_bio_head="Profile"]
    Plugin Author Steven

    (@shazahm1hotmailcom)

    re: The exerpt is now short but super narrow.

    It is narrow because you put it in a narrow column and/or row in the theme builder. You’ll have to adjust the theme layout in the builder, this is not something Connections can control.

    RE: the profile are still the three search

    I just took a look, the search is no longer above the detail/profile view. It seems like you now have the [cn-content] setup correctly.

    RE: the BIld in the profile is huge.

    Sorry, I am not sure what the issue is, can you please provide some more detail?

    Plugin Author Steven

    (@shazahm1hotmailcom)

    I was thinking, if you can not put the shortcodes in a wider column and/or row in the theme builder, you can put the template into a single column instead of two.

    I hope this helps!

    Thread Starter lutz3000

    (@lutz3000)

    It is narrow because you put it in a narrow column and/or row in the theme builder.

    This was the issue. Sometimes you are blind for such simple things ??
    Thanks for your great help, everything is fixed.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    Great to hear everything has worked out!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Short code hiding enhanced categories above profile’ is closed to new replies.