Wordpress Plugins Menu Position & Title - php

How would I go about moving the position of a wordpress plugin that is installed from the Wordpress Plugin Repository? I want to do this in the functions.php file for learning purposes and because the theme will be utilizing the same plugins and I can set them with the names I want and the correct position.
What is the easiest way to change an installed plugins position and any menu titles? I've changed some of the core installed menu titles but not an installed plugin.
Thank You.

Go to your directory Plugins > Your Plugin. At very beginning, you'll see some comments.
You can set name, description etc there.
/*
Plugin Name: (Name of Plugin that will be seen on Installed Plugin section.)
Description: (Your Plugin description.)
*/

Related

Is it possible to use WordPress theme preview as main website source that will work all functions?

I'm new in WordPress
I misunderstand one thing about the theme use in WordPress
For example, I wanna create the as same website as this I purchased this template.
But when I installed the theme in WordPress it shows me the default Index.php file with little info, used my purchased theme
And when I purchased the theme there exist all src files of the above website.
How I can use my purchased src files of website that will work all function for ex: logins with db?
Thanks in advance!!!!
After you purchased the theme, you probably have just installed the theme and haven't created any pages or tweaked any settings. So if you want to get the same look as that of the preview website, you probably have to check whether the developer has provided any dummy data for importing.
Most of the themes listed in ThemeForest would have the option to import dummy data, so that customers would be able to install some pre-made posts, pages, config, etc. This might be there inside the custom settings page(as a single button to download the content) of the theme, or maybe they have provided it in separate XML files for you to import. If the files you have downloaded doesn't have it, make sure you downloaded All files & documentation. Here's a sample screenshot:
My guess is that you might have only downloaded using the Installable WordPress file only option.
If you are still unable to get the dummy data, probably you have to ping the support of that theme asking them to provide the dummy data.

Issues regarding custom theme, plugins not working in Magento

I am using magento custom theme. When I open my product page, while loading the page the default zoom function buttons are visible for a moment. When page load completely the buttons are disappear.
Let us look the images for more info:
Before (while loading)
After page load
Why this happened so? I am installed a new custom theme. This theme not provide any image zoom functionality. I think the zoom buttons are load from frontend\base\default\template\catalog\product\view\media.phtml. Why my site load this page, since I use a custom theme the site should use the theme's media.phtml file. How can I solve this issue?
And when I try to install some product zoom plugins, these are not working in my theme. The plugin files are saved in my default theme directory. And I manually copy the plugin files from default to custom theme directory, but no luck. Please refer the LINK for more details. Is there any way to rectify this?
Please help me ...I am using magento 1.9.0.1
First of all you need to check which package you are using for you theme, you can check if media.phtml is being called from rwd folder.
i.e. /app/design/frontend/rwd/default/template/catalog/product/view
Or you can enable path hints and locate the phtml files, and accordingly that you can put the design files of custom module there.
To turn on template path hints in Magento:
log into the magento back-end admin.
Go to System -> Configuration in the main menu.
Go to Developer on the bottom left under ADVANCED.
Switch to the store view on the top left to your current website or store
view.
or check the below link.
https://support.sweettoothrewards.com/entries/21255937-How-do-I-turn-on-template-path-hints-

Magento product zoom extension not working in my custom theme

I am using a custom theme in magento. Now I install a pluging for product zoom functionality. But the plugin is not working. Finally I found that the while installing the plugin, the files are saved in default theme directory, but I am using a custom theme(themeheros).
To make the plugin working I cut and paste the
app/design/frontend/default/default/layout/[extension_name].xml
app/design/frontend/default/default/template/[extension_name]/*
files to
app/design/frontend/[your_interface]/[your_theme]/layout/[extension_name].xml
app/design/frontend/[your_interface]/[your_theme]/template/[extension_name]/*
But no luck. The plugin is still not working.
For product zoom I use number of plugins but no one was worked in custom theme.
But in my local machine these plugins are working because there I am using the default theme.
How can I make the plugin working in Custom theme in Magento. My magento version is 1.9.0.1.
Which javascript library does this module use? jQuery? Prototype? If
jQuery check existing noConflict() method.
Try to put layout and
template files in base/default directory.
In most situations any javascript lib doesn't work because of custom theme. For example in default magento image wrapper block is <div class="product-image"> and any module try to select this block $('.product-image'). But in your custom theme this block can have another class and module initialization will not work. So I recommend to switch to default theme.
Open on your product view page view:source code and find how much time jQuery (if it module use jQuery) attached
According your comment check if current handle use on this page. Anyway upload here your layout xml in your first post.

WordPress Redux Framework - Redux admin folder can't find plugin

I'm trying to get the Redux Framework working with my "blankslate" theme. I installed the plugin (downloaded the latest zip for Redux). Then I used the Redux Builder tool to create an admin folder. I copied the admin folder to my themes folder. The Redux menu item was successfully added to WordPress' left nav (in my case I named it CMS) and all the fields work and can be saved. But there is constantly an error that says "This theme recommends the following plugin: Redux Framework." Redux is obviously installed, so how can I get this error to go away? I'm sure there's just a configuration option somewhere that needs to be set.
The issue here is you are loading TGM before Redux has had a chance to load. Delay calling TGM until after a hook like this:
add_action('plugins_loaded', 'tgm_init_function', 25);
This will force all the plugins to load before it tries to run TGM. My guess is your plugin is named higher in the alphabet than Redux, and thus it's loaded first. ;)

How do I get TinyMCE Advanced working in Wordpress?

Here is an image which shows the site I'm working on: Link to how the current editor looks
I'm doing some maintenance and conversion on a wordpress site. My client is not fluent in HTML, and wants to be able to edit pages in a WYSIWYG fashion. However, this option does not exist in the current editor. (see image)
I have installed TinyMCE Advanced as per the instructions, it appears in my plugin list (also in the image), and activated the plugin, but I'm not seeing any changes. Is there a base TinyMCE plugin I need to install first? I was under the impression that Wordpress came pre-installed with it.
Some more info:
This is Wordpress 3.4.2
The TinyMCE plugin (if there is one) does not appear in the plugin list.
I do not know if there is an option in any panel where you choose which
Is it also possible to simply add the button to the current TinyMCE configuration? Any assistance would be appreciated. Thanks,
-Tom

Categories