Plugins doesn`t appear in back end
Posted by: KarlisJ (81.198.5.---)
Date: September 28, 2016 07:37AM

So I installed localhost using WAMP server, but it is not working as expected.

I copied Custom Post Type plugin (directory with movie.php file) that I created using register_post_type, but the plugin doesn't show up in Dashboard. However, the plugin worked well on my live site, so it is written correctly. The same happens with child theme. What have I missed?

I think It may come from wrong url in header of plugin. I changed it after copying in localhost directory but I`m not sure that it is correct.
/*
Plugin Name: Products
Plugin URI: [localhost]
Description: Declares a plugin that will create a custom post type displaying movies
Version: 1.0
Author: Kārlis Janisels
Author URI: [localhost]
*/
What is right url to my localhost if the path to my WP directory is C:/wamp/www/tests ?

Options: ReplyQuote
Re: Plugins doesn`t appear in back end
Posted by: RiggsFolly (Moderator)
Date: September 28, 2016 09:58AM

Hi


I assume we are probably talking about a WordPress site, is that correct?

WordPress works best when you create a Virtual Host for it to run in.

See the second post on this thread

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Plugins doesn`t appear in back end
Posted by: Otomatic (Moderator)
Date: September 28, 2016 11:28AM

Hi,

As RiggsFolly wrote, you must use VirtualHost and especially for a web application like Wordpress: The need for Virtual Host

> Plugin URI: 'http://localhost:8383/wordpress/'
Why do you use the 8383 port?

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.