I want to change the display language of my admin panel using yogiben:admin package. Is it possible to change it without changing my collections names and everything in my Meteor project?
Related
I'm working on a Wordpress site that supports multiple languages (using Polylang plugin), I installed a plugin to use but figured out that the plugin's options that I need to set in the admin panel don't allow me to insert different values for the different languages I have.
I expected that by specifying the value from the admin bar (the top bar that shows in admin panel) then setting the values, that can be beneficial but it didn't work.
What do I need to change in the plugin (or somewhere else) to support multi-languages in this plugin?
I am using the admin plugin. I can create a page fine, and it uses the language I have selected as my locale as the language of page, which is also fine. But I can't add a different localization for the page unless I manually add one in the filesystem. When I add one in the filesystem, I get a nice drop down selecting the locale of the same page. However, without manually creating a localized file in the filesystem, I can't create a different version of the same page.
Is there a way to do this in the admin?
On the page you want to save/duplicate as another language, the drop down for the save button has the options.
I need to build a dashboard that will allow users to sign in/out and access/update their business account information.
WordPress has its own dashboard for publishing content but this is not what I am looking for.
Would it be easier for me to create a second site using a framework (Ruby on Rails) that makes this type of user access easier? Or is there a solution in WordPress that I am unaware of?
You can easily customize the existing WordPress dashboard. The items shown on the dashboard are determined by the function current_user_can(), so you can hide items by restricting the capabilities of the user using the function add_role(). You can add your own items by the function add_submenu_page().
It has been a while since I customized the WordPress dashboard but if I remember correctly I also had to use JavaScript and CSS to dynamically modify the DOM but this may be because I was doing something unusual. Anyway I think it was quite easy to do.
you can check out the following wordpress plugin for your requirement
https://wordpress.org/plugins/client-dash/
I am creating a WordPress admin panel for a premium theme and I don't want to use a plugin. Searched Google and StackOverflow a lot but everywhere it refers to the Settings API but checking the date of the articles or question/answer posted date, majority shows 2012 or early. I checked some premium themes of themeforest and none of them were using any of the Settings API functions such as add_settings_section, register_setting, add_settings_field. Each theme is using a different and specific way to save admin panel options, if I follow that then that will be a copy of that theme.
Is Settings API the right solution for this requirement?
I'd suggest using the Customizer - https://developer.wordpress.org/themes/customize-api/
This will work fine if you're only talking about a few settings - you can add new panels, inputs etc. For example on a theme I built, I added a 'contact' panel so the users can add their contact details.
I know how to hardcode categories, archives, etc into theme but for one of my projects i would have to hardcode some plugins widgets (especially subscribe2) and i'm not sure how to do this. I know i can add widgets via widgets menu in wp admin, but that's not what i'm trying to achieve, i'm trying to set it up permamently in theme for later reuse. How to do this? Especially with subscribe2?
You can add the widget via the normal means, and check the code on the site using View->Source.
Then, you need to edit the html template for the theme (depending on where you want the widget to appear - main entry, sidebar.html, etc) and add the code there directly.