Forum Replies Created
-
AuthorReplies
-
It seems there is no specific rule in the stylesheet for this case.
This happens also on mobile btw., you just can’t see it, because the space is to small to push the heading to the right.Reason: “flex-direction: row-reverse” is used to switch the line from right to left. This also pushes the heading itself to the right.
Do you need to inherit the heading align, because you want to achieve different designs on several breakpoints or what’s the issue you are facing?
Hey @MAFMaxFabi.
I tried to replicate your issue but it seems to works as intended.
Could you share more details or send a link to your page, so I will take a quick look at it.@MAFMaxFabi this has been fixed in the recent update as per changelog of version 1.18.
I have tested it can confirm it works now as it should so I recommend to remove the code snippet in case you used it.Thanks a lot guys, for adding Home v2 inside the new release, I do really appreciate 🙂
August 20, 2021 at 10:37 am in reply to: Anyone else having problems with Skin on Scroll in Safari? #450I am pretty sure they know what’s posted here.
Still, if it’s important for you, I’d suggest to open a ticket.
I have a feeling, issues are addressed a bit faster and sometimes a temporarily solution is given until the issue is fixed.August 20, 2021 at 10:34 am in reply to: Allow WordPress Users to Create Only Lower-level Accounts #449Hey Dan.
Just sent you a message through your form. Looking forward to hear from you.
August 18, 2021 at 12:39 pm in reply to: Anyone else having problems with Skin on Scroll in Safari? #446Hey Dan.
Since I am using Windows machines only, unfortunately I am not able to check your issue.
I am pretty sure the team is developing on MacOS machines and would came accross this behaviour.
My recommendation would be to simply open a support ticket, so they can have a closer look into it.Best.
August 18, 2021 at 12:32 pm in reply to: Allow WordPress Users to Create Only Lower-level Accounts #444Hey Dan.
This is exactly what you are looking for:
Let me know if it worked out for your case.
- This reply was modified 3 years, 3 months ago by Marius1989.
Hey Dan.
Glad you sorted it.
Regarding the Hub issue. It happens to me, too. You have to login before you click any of the topics.
If you get the members only screen and then login to your account, there is no chance to enter the thread anymore for some time.
You have to make sure, the site shows your profile as logged in (especially in the Forums overview page). In general you have to reload the page, even after you logged in.This can be resolved by going into incognito mode or use another browser and then login before you click anything else.
Hope it helps.I just tested it and could not verify any issues with it. Works as it should. Both, same window and new window target.
Could you please share in detail what’s the problem?
I prefer to create new CPT’s with custom functions, since it is really easy and avoids all unnecessary bloat most plugins bring along.
If you want to go the plugin route, “Custom Post Type UI” could be the one you are looking for.
No matter what, both solutions are summarized pretty well in the following article:
wpbeginner DOT com/wp-tutorials/how-to-create-custom-post-types-in-wordpress/I recommend to have a look into the code of Impeka and check how the team integrated the CPT’s inside the theme so you there is just a very small chance of making errors by replicating this procedure.
PS: You can always check the menu items array inside the wp admin dashboard for further modification. Just paste this inside your functions.php temporarily. It only will affect your backend.
Having this simple overview makes it quite easy to make required changes to specific areas.
if (!function_exists('debug_admin_menus')): function debug_admin_menus() { global $submenu, $menu, $pagenow; if ( current_user_can('manage_options') ) { // enable for admin role if( $pagenow == 'index.php' ) { // puts the menu array list inside the WP admin dashboard echo '<pre>'; print_r( $menu ); echo '</pre>'; // main menu items echo '<pre>'; print_r( $submenu ); echo '</pre>'; // submenu items } } } add_action( 'admin_notices', 'debug_admin_menus' ); endif;
Alright, I quickly threw something together:
function give_your_function_a_custom_name_or_whatever() { global $menu; // set a global to get the wp admin menu array global $submenu; // set a global to get access to the submenu array $menu[6][0] = 'People'; // change "Portfolio" to "People" $menu[6][6] = 'dashicons-businessperson'; // change icon, you can pick another one that fits your needs more here: https://developer.wordpress.org/resource/dashicons/ $submenu['edit.php?post_type=portfolio'][5][0] = 'Overview'; // change "Portfolio Items" to "Overview" $submenu['edit.php?post_type=portfolio'][10][0] = 'Add Person'; // change "Add New" to "Add Person" $submenu['edit.php?post_type=portfolio'][15][0] = 'People Fields'; // change "Portfolio Categories" to "People Categories" $submenu['edit.php?post_type=portfolio'][16][0] = 'People Categories'; // change "Portfolio Fields" to "People Fields" } add_action( 'admin_menu', 'give_your_function_a_custom_name_or_whatever' );
If you want the changes only on the editor role appear, wrap the above code inside the following one:
if (current_user_can('editor')) { //here goes the code from above }
Tell me if there is anything else you still need.
Also not a big fan of plugins when little code can do the job.
Is the people CPT the only CPT you need for this project? If so, I would just use the portfolio one.
I always do that in such a case in my projects, if only one CPT is needed.If you want I can quickly send you a code snippet. Just tell me exactly what you want. The more details, the better.
Are you talking about the backend menu item?
If so, do you only want to rename it for the editor role?A general solution could be something like this:
function wd_admin_menu_rename() { global $menu; $menu[6][0] = 'People'; } add_action( 'admin_menu', 'wd_admin_menu_rename' );
Paste this to the functions.php inside your child theme.
Hope this is what you were looking for. -
AuthorReplies