WordPress.org

Forums

Frontier
[resolved] List all Profiles - finesse (6 posts)

  1. licoricetwist
    Member
    Posted 1 year ago #

    On the site I've done, I'm using the Public Profiles to display those members who have chosen to use it. That's working fine (see here?).

    There is more than one page of profiles. I would like to be able to EITHER:

    1. change the text on the 'next page' link to 'more profiles' or even 'next/previous page'. It currently reads 'older/newer posts' which is not appropriate. OR
    2. Allow the single page to display all the Public Profile summaries.

    There doesn't seem to be an actual page to edit, as the list is generated from a search. I can view the code with View Source, but don't know how to get at the generated page. I imagine Events would work in a similar way, but that list doesn't grow so much so is not really a problem.

    I've downloaded a plugin Page-Links Plus, but that doesn't seem to do what I need, unless I'm missing it.

    I'd like to edit it in a way which will 'stick' even if I update the theme (like the custom CSS panel) if that's possible.

    Any ideas? Thanks.

  2. ronangelo
    Member
    Theme Author

    Posted 1 year ago #

    There is more than one page of profiles. I would like to be able to EITHER:

    1. change the text on the 'next page' link to 'more profiles' or even 'next/previous page'. It currently reads 'older/newer posts' which is not appropriate. OR
    2. Allow the single page to display all the Public Profile summaries.

    You could use this function to change a few text on a theme.

    The second way is possible too and a lot easier if the plugin that you're using supports shortcodes. You could just add that on your page.

  3. licoricetwist
    Member
    Posted 1 year ago #

    Thanks for your reply Ron.

    The first option of using a function seems tidy, so I've tried the 3rd on the list and don't seem to be able to make it work. I put it near the top of the file, and then I moved it to the very bottom (in case that matters). What's wrong with what I'm doing that it doesn't work?

    ...easier if the plugin that you're using supports shortcodes... just add that on your page.

    That's where I started - but where is 'the page' to edit? It is not in my list of Pages, how do I edit it?
    This is the search results page.

  4. licoricetwist
    Member
    Posted 1 year ago #

    That's the big question - how do I edit the html of a page I didn't create and that isn't in the list?

    Editing the html of those pages is what I need to do for headings, too. I have hidden the H1 headings (which are used to generate the menu) on created pages, and added in my own h1 headings (which are slightly different from the menu - eg 'Welcome' on the Home page).

    But that means I have no H1 on the Events page or the Practitioners' page, because I haven't found the access to the html.

  5. ronangelo
    Member
    Theme Author

    Posted 1 year ago #

    The first option of using a function seems tidy, so I've tried the 3rd on the list and don't seem to be able to make it work.

    I'm guessing you only used "Older posts" & "Newer posts" without including the special character so it probably didn't match.

    « Older posts
    Newer posts »

    If you want to list all profiles on a single page and have control on what elements are included (h1,h2,h3...) then you can use a shortcode as I instructed on my first reply. You would have to install a shortcode plugin like this: Posts in Page
    – You would have to create a page (ex. "Practitioner Profiles")
    – Then add a shortcode like this:

    [ic_add_posts post_type='profile_cct' showposts='-1']
  6. licoricetwist
    Member
    Posted 1 year ago #

    Hi Ron - Thanks for this info - sorry, I've been away, but have this evening been looking into this again. I've tried the plugin you mention, but find it confusing because I don't really understand the relationship of Profiles to Posts. But I have also discovered the Profile plugin has its own short codes.

    However - Although I can successfully bring the Profiles into a page, and get the right info, and order, it seems to have lost the Frontier formating which I would like to keep - the smaller font and orange divider.

    BOTH plugin shortcodes have the same formatting problem.

    So the original search results look like this

    And the short-code-in-page version like this

    Am I missing something obvious?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic