Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Just to follow up on the above message, I have now gone through the site and tested Log Out with each other plugin (and with all of the other plugins) deactivated; the Log Out link with the WPS Hide Login still does not work.

    Hi, @nicolaskulka,

    First, thanks to you and your colleagues for the plugin, which I have been using for some time now without issue.

    Last week I migrated to a new hosting solution on an AWS VM, where I am now hosting two WordPress sites:
    – Linux (CentOS 7)
    – Nginx (1.16.1)
    – MariaDB (10.4.12-MariaDB MariaDB Server)
    – PHP (7.4.4)

    I am now unable to log out when using WPS Hide Login on either site. Clicking Log Out just brings me back to /wp-admin. I have tried rewriting the permalinks several times, and have tried deactivating, rewriting permalinks, activating, rewriting again, etc.

    In my case it may have something to do with SELinux. Are you aware of any SELinux issues?

    All plugins and WordPress are up to date. There is possibly a plugin conflict, but I haven’t introduced any new plugins, so it may be something in my LEMP stack. However, I will try deactivating each plugin to see if I see a difference.

    Thanks again.

    Thread Starter The Third Man

    (@the-third-man)

    The short answer is: learning how it’s done. This all started because my website is for a magazine, and I decided that for the content from the actual printed magazine, I decided that I did not want to display the metadata related to the author and the date (the author because we generally don’t use bylines, and the data to make the content less “dated”). As I said, most users won’t even realize that there is different metadata appearing, but I wanted to see if I could figure it out.

    I asked many people, none of whom could really help me past the beginning stages, months of playing around myself to see what worked, and I took a 10-hour PHP class on Lynda, at which time it clicked to me that I could just kind of duplicate the twentytwelve meta function with an if and an else in between. Then, when I solved it after all that work, I saw that the categories (and, by extension, the tags) were listing in alphabetical order (I guess that’s sortby => name), when I had actually set them up and ordered them and their respective ids in a particular order (by magazine content, by magazine issue, by magazine department, etc.). So of course I wanted to make things harder for myself.

    So, yes, it’s a learning exercise. I think the level of knowledge needed to solve the problem is above my head (I wouldn’t have known exactly where to look for the functions you described above, though I had a pretty good idea), so it will probably have to wait.

    Thanks again for your help.

    Thread Starter The Third Man

    (@the-third-man)

    bcworkz – Thank you again for your reply and for taking the time to think about my question. I will keep working on it using your suggestions.

    I am sure in the end will seem simple, but I think the funny thing is I will do a lot of work (and learning) to achieve a result that the user probably won’t even notice (listing categories by id rather than by name). But it does seem to me that WordPress defaults to ordering by name rather than id, so I would think if I just figured out how or why it does that I’d be most of the way to solving the problem.

    Thread Starter The Third Man

    (@the-third-man)

    Thank you for your reply. I do have debug set to true, and it has confirmed that when I alter this function incorrectly, it “breaks” the site.

    So it looks like the line of code I am trying to alter is:
    $categories_list = get_the_category_list(__( ', ', 'twentytwelve' ) );

    But if I simply replace with:
    $categories_list = wp_list_categories( array('orderby'=> 'ID'));

    What I get is a ul of all the categories I have created for the site. Below that the $utility_text reads “This entry was posted in and tagged…” and then goes on to list the tags; i.e. it doesn’t show the categories inside the $utility_text.

    I’m sure that, as you suggested, I am missing something simple in terms of syntax is perhaps the way I am typing argument or string but I can’t figure it out.

Viewing 5 replies - 1 through 5 (of 5 total)