• Resolved headelf

    (@headelf)


    I’m currently having two issues.

    First, when I click on a term it’s not coming up in the page. I’m getting a listing of terms starting at the top of the list of terms, not the specific term chosen.

    Second, when I click a letter on the prefix bar it’s giving the a list of terms that start with that letter in the page, not in the menu.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter headelf

    (@headelf)

    And interestingly enough, when I use the sidebar search function, I get an additional search bar on the page itself. Help!

    Plugin Author Dennis

    (@dhoppe)

    1. The links in the left sidebar are wrong. They all point to the encyclopedia archive page. Possibly there is a problem with your permalinks or the url slugs for all entries are missing.
    2. The prefix filter links to an archive which renders all entries which start with this prefix.
    3. The search result page is rendered by your theme and I guess your theme developer added this search bar to the template. ??
    Thread Starter headelf

    (@headelf)

    Thanks for that tip. You’re right, it was a theme issue. I switched themes and it’s gone.

    I still have the remaining issue. Here’s what I have in the left sidebar widget.

    Encyclopedia Search widget
    Encyclopedia Entries widget

    You told me what’s wrong you didn’t tell me how to fix it. Which widget do I use to list the terms that will allow the terms to show up singly when clicked? Where am I going wrong?

    Plugin Author Dennis

    (@dhoppe)

    This is not a problem with the widget. Please try to call the single view entry by clicking the view link in the dashboard. Where points the link to?

    Thread Starter headelf

    (@headelf)

    Uhm, URL slugs? What are they and where do they go? I did an sql data dump into the table I used . . .

    INSERT INTO wp_posts (ID, post_title, post_content, post_date, post_type) VALUES
    (1, ‘Aback’, ‘Wind on the wrong side of the sails.’, ‘2021-03-26 01:01:01’, ‘encyclopedia’),
    etc.

    If there’s another field I need to populate I wasn’t aware. I’ll do a little research to see if I can figure out what I’m missing. I *really* appreciate your help.

    Plugin Author Dennis

    (@dhoppe)

    sql data dump into the table

    I guess this will not work…

    See here

    Thread Starter headelf

    (@headelf)

    I’ve added two records to see how the two things that are missing are formatted. I really don’t like that the encyclopedia records are tied to just one URL that is hard coded in the database. That certainly reduces the flexibility of the plugin.

    guid . . . https://www.surveyorslexicon.com/?post_type=encyclopedia&p=133

    Correct me if I’m wrong . . . isn’t that something that should be handled by pulling the fields from the database? I’m sure there was logic in why you did it this way, but it’s totally escaping me.

    I can make the changes to the sql records to build the guid field for uploading, I’m just not sure that’s the best approach. Thoughts?

    Plugin Author Dennis

    (@dhoppe)

    1. All the database things are handled by WordPress; not by the plugin.
    2. The guid field has nothing to do with the permalinks.
    3. I would recommend to use the wp_insert_post function.
    Thread Starter headelf

    (@headelf)

    OMGosh! You are SO right! The answer was SO simple! I don’t have to touch the records I’ve prepped, just stuff them into the database and run a permalinks plugin to set all the permalinks! Perfect! Dennis, you are truly brilliant.

    Thread Starter headelf

    (@headelf)

    Awesome! Paid you the bucks! Thanks for all your help! You ROCK!

    Thread Starter headelf

    (@headelf)

    Still not getting a prefix only index. What am I doing wrong?

    https://www.surveyorslexicon.com/lexicon/prefix:w/

    I can click on a term and it comes up as it should in the page so color me happy on that, but with over 2000 terms I cannot have users scrolling through to find what they need. Yes, they can search but . . .

    Plugin Author Dennis

    (@dhoppe)

    The prefix archive “w” (/encyclopedia/prefix:w) shows all entries which start with “w”.

    Thread Starter headelf

    (@headelf)

    Quite true, but not in the index of terms in the sidebar. It brings up the list of terms in the main part of the page. With ~2000 terms, not isolating the index to just the selected terms isn’t optimal.

    Try it -> https://www.surveyorslexicon.com/encyclopedia/prefix:w

    How far do you need to scroll down to see something at the lower end of the list?

    Also, look at the prefix line. I’ve got one line with single letters and two lines with two letters. This behavior comes and goes. Yesterday it worked perfectly. Today . . . not so much. Yesterday the prefix links worked not at all, today they work. I feel like I’m chasing shadows trying to get consistent behavior from day to day.

    Thread Starter headelf

    (@headelf)

    ARG! On the issue with the prefix line . . . I clicked wh and got the list of terms (not where I want it but the listing nonetheless) and the prefix is now three lines, one single letters, one double letters and one triple letters. I have done NOTHING. I’m not even signed into the back end. ARG! Why the flaky behavior?

    Thread Starter headelf

    (@headelf)

    And then I click E and I’m back to three lines, one single letters and two with two letters!

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Latest version issues’ is closed to new replies.