• Resolved B

    (@logicintl)


    Hi Socks,

    1. Thank you for sharing this lovely project/endeavor with the WP Gang. πŸ™‚
    2. All was working when I first installed and tinkered, but then I tinkered some more, naturally changing what was not to be changed … “WARNING: changing this value is not recommended. Changing the post-type name may break permalinks, alter search criteria, and you may have to rename your template files.” … thinking, I will just delete and start over if I foul something up. I am at the beginning stages of this website build and the formatting is just taking shape as far as this new ability to manipulate databases of specific information, thanks to you and your nifty plugin, but it is all over my head, for certain, for now.
    3. So, the reason I default to delete and start over, is this, … the list I want to display via the shortcode, does indeed display a list, the but is, that last two, and most recent entries do not fall into proper ‘ascending order’ which parlays into alphabetical, which I love, viola, perfect, and I don’t know why they are being problematic. Also, any new entry into the same ‘content type’ slot/label/file does the same thing, meaning the new entry just sits at the bottom and/or top of the list, when you choose the ascending or descending option when generating shortcode via the icon while on an existing page.
    4. I don’t know how to correct whatever problem I caused, or if I caused the problem, which I know I likely did. So, I thought let me just start over, but I am not sure even, how to do that, start over and delete, so that everything is really gone, and the kink undone.
    5. Oh, and somewhere in the ‘how to’ we are supposed to place a .php file in the theme being used, ok, yes, I did that just to help you diagnose the issue here, and I did update the name of the file doing a strict copy/paste from the sample template page to the actual file name , so as to avoid any typing error, and then of course I did the copy/pasting in of the sample template php file contents.
    5. What do you advise?

    Thanks much,
    B

    https://wordpress.org/plugins/custom-content-type-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter B

    (@logicintl)

    UPDATE:

    1. I went into the phpMyAdmin via my CPanel to look at the database and attempt to get familiar, as I know I have to learn more as I go along.
    2. I believe what has happened in my case, is that, I have changed the name of the post_label so many times that I have left fragments of the same post behind in the database under different names/labels so to speak.
    3. Next, I uninstalled the plugin, selecting delete all files as well, and then knowing that I did that, I said let me go into the phpMyAdmin and see what is still there and/or not there. Side note, I uninstalled the plugin before, but I did not choose the option to delete the files.
    4. In the database, I deleted any line item that I knew was relative to this grouping of posts and/or this mini-database list that I was working on, reasoning that it should be gone, because I just deleted via uninstalling the plugin, and choosing the delete all files option, under the Global Settings Menu, and I was willing to start over anyway, no harm done in losing a little bit of data entry.
    5. Then I realized that I created/caused there to be leftover files/posts/line items in the database from my changing of the post_type label, numerous times.
    6. After a nice cup of hot tea, I will go back at it, re-install the plugin, knowing better what I want my naming convention to be, so there will be no changing the post_type label.
    7. If you could just let me know if what I am describing is a somewhat correct understanding of what I likely did to the database, that would let me know I am beginning to get some kind of handle on this aspect the whole content management system we have here in WordPress.

    Thanks much,
    B

    Plugin Contributor fireproofsocks

    (@fireproofsocks)

    Wow, that’s a lot of words — are you trying to use the summarize_posts shortcode? If so, you can specify an “order” and “orderby” parameter to affect the sorting. See https://code.google.com/p/wordpress-custom-content-type-manager/wiki/get_posts#orderby

    As for database interactions, I’m not clear what you’re trying to do. The plugin tries to be as laissez faire as possible: posts and fields are not deleted from the database unless you specifically enable this behavior in the global config.

    Thread Starter B

    (@logicintl)

    Socks,

    Thanks for the reply and comments. πŸ™‚ And again, thank you for this plugin and the sharing of it, I fully expect to contribute.

    I have come to the conclusion that my best option is to take what I have learned in this first trial run, to then operate and step with great care, observe the interactions between WP ~ Theme ~ Plugins … and start fresh.

    Trying to diagnose what I did where, which caused what, is mind-boggling. The project is so fresh I can re-create on a fresh platform, very happy go lucky me. πŸ™‚

    To Summarize:

    1. Yes, I found the ‘Global Options’ and I did use that option. I do not know enough, to know for certain, that I deleted all wayward fragments/line item entries from the database, of the many times I did in/out and on/off with the plugin. Fresh is best.

    2. Yes, I did learn how to use the ‘Shortcode Generator’, to get an ascending, alphabetical list, which I documented for other noobs, and for self, and how to orchestrate the entry of the text, so it can be told/ordered to behave according to the commands I have within the CCTM Plugin, and the Shortcode Generator.

    3. As for your caution, it is duly noted, however, I have no other option, at this time, but to use the WP platform to undertake this project, as it is the environment that I can operate in, as I do not have the advanced knowledge and experience, that would be necessary, with any other better-suited platform.

    Regards,
    B

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Delete 'Content Type' Entry & Start Fresh?’ is closed to new replies.