Skip to content

Instantly share code, notes, and snippets.

@sareiodata
Created July 2, 2014 08:45
  • Star 33 You must be signed in to star a gist
  • Fork 27 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Empty WordPress plugin
<?php
/**
* Plugin Name: Name Of The Plugin
* Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates
* Description: A brief description of the Plugin.
* Version: The Plugin's Version Number, e.g.: 1.0
* Author: Name Of The Plugin Author
* Author URI: http://URI_Of_The_Plugin_Author
* License: A "Slug" license name e.g. GPL2
*/
/* Copyright YEAR PLUGIN_AUTHOR_NAME (email : PLUGIN AUTHOR EMAIL)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
// Start writing code after this line!
@Time-Lover
Copy link

thanks

@tfxstartupinternational

Excellent! :)

@agrimarcal
Copy link

add_filter ('trp_gp_lang_parameter', 'trp_gp_change_parameter_name');
función trp_gp_change_parameter_name ($ name) {
regresar 'idioma';
}

@jackal-star
Copy link

How to fix Href lang to non-canonical on wordpress?

@luc-constantin
Copy link

thank you

@ersanjay5991
Copy link

@sareiodata can you please update with latest version and activate and deactivate hook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment