A video game called IndyCar Racing has a tag slug sim-indycar-racing and name is IndyCar Racing. All cars and tracks in that game have that tag.
I also have a tag slug franchise-indycar-racing with the name IndyCar Racing. It’s really just very easy to confused those two franchise-indycar-racing and sim-indycar-racing when creating a post because both names are IndyCar Racing. Can I show slugs??
I need to have the names as they are because I use those in my templates. If a post has a franchise-* tag I list it as such. Same for the other tags I use.
Hope I have explained ok, thanks for any help.
]]>I have tried:
– deactivating all plug-ins: no change
– reactivating all plug-ins: no change
– updating all plug-ins: no change
– downloading health check plug in: no change
– changing theme to WP 2017: no change
– changing back to original theme: no change
Again, this problem affects my ability to edit existing posts in my website, as well as my ability to post any new content. All attempts result in that white screen. Two days ago it was working fine, yesterday this issue started and it’s continuing today. Help please! Thank you!
]]>However when using remove_submenu_page I lose the permission to list all the posts of the post type, even though I have all the capabilities to edit publish, etc.
code
function desable_submenu() {
remove_submenu_page( "edit.php?post_type=custom_post", "post-new.php?post_type=custom_post" );
}
//add_action( 'admin_menu', 'desable_submenu' );
Tranks
]]>I’m inside the New Post page on WP-Admin, where you can create a new post.
At the right column, there’s the category selector, in which you select the category for that new post.
I have something like 15 categories, and therefore the category box is showing with a scrolling bar. Since I need to automate some post creation, I need all the categories to be visible right away, without having to scroll.
So I found the css file that manages the height of the category box (it’s inside /wp-admin/css/edit.css and //wp-admin/css/edit-rtl.css) and there I changed the CSS files to allow a bigger height by default on that box.
However when I open the new post page, it still shows the small box in categories, and when I see the CSS rule, the change I made is not visible. It’s like the CSS is cached or something. I already made sure that my browser is not caching it.
The problem I think it’s because the CSS rules are not pulled directly from CSS files, but from this file:
https://www.website.com/wp-admin/load-styles.php?c=0&dir=ltr&load%5B%5D=dashicons,admin-bar,buttons,media-views,common,forms,admin-menu,dashboard,list-tables,edit,revisions,media,themes,about,nav-menu&load%5B%5D=s,widgets,site-icon,l10n,wp-auth-check&ver=4.7
That file seems to go and gather the CSS information from some place (which I assumed was the CSS files in the wp-admin/css/ folder, in which I could find the exact same CSS rules that were applied to the category box) but for some reason, it’s not retreiving the updated CSS file. Or something else is happening (Server side caching the PHP response and therefore retreiving all the time the old response?)
Could someone give me a hint?
Thanks so much!
]]>I suspect the editor is built of several files located in various places in the WordPress folders, and I see that post-new is only part, because when you edit a published post, you get post.php. If someone is able, could you please direct me to the files and maybe even give a hint of the sections I would be looking for?
I expect to just make a second Post Composer, while keeping the original intact (so that I could keep free of problems with updates).
Thanks, JM
]]>If anyone can point me in the right direction, it would be greatly appreciated.
Thx.
]]>As i have many old categories i want to hide as they’re not longer relevant.
Thanks
https://www.ads-software.com/plugins/hide-for-group-roles/
]]>