This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/********************************************************************** | |
* *** | |
* Konstanta ABSPATH naudoja funkcijose su failo operacijomis | |
*********************************************************************/ | |
if ( ! defined( 'ABSPATH' ) ) { | |
define( 'ABSPATH', dirname( __FILE__, 5 ) ); // svetainės root aplankas (pritaikyti pagal projektą) (web) | |
} | |
setlocale( LC_ALL, ['lt_LT.UTF-8', 'lt_LT', 'lt'] ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Anwp_Debug_Helpers class | |
* | |
* @package Anwp_App | |
*/ | |
declare( strict_types = 1 ); | |
namespace Anwp_App; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var homeRoot = '../../', | |
srvRoot = homeRoot + 'www_srv/'; | |
var site_00_Name = 'html', | |
site_00_Prefix = 'html', | |
site_00_Root = srvRoot + site_00_Name + '/', | |
site_00_Assets = site_00_Root + 'assets/', | |
site_00_SrcRoot = site_00_Assets + '_src/'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Include Custom Templates | |
*************************************************************************** */ | |
function my_custom_template( $template ) { | |
// patikrinama ar rodomas puslapis yra pasirinktinio tipo įrašų archyvas | |
if ( ! is_admin() && is_post_type_archive( 'custom-post-type' ) ) { | |
// įtraukiami reikiami stiliai ir scenarijai | |
add_action( 'wp_enqueue_scripts', 'my_custom_styles' ); | |
add_action( 'wp_enqueue_scripts', 'my_custom_scripts' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"folders": | |
[ | |
{ | |
"name": "THEMES", | |
"path": "/home/anwas/www_srv/clients/client1/konferencija.pavb.lt/web/wp-content/themes" | |
}, | |
{ | |
"name": "PLUGINS", | |
"path": "/home/anwas/www_srv/clients/client1/konferencija.pavb.lt/web/wp-content/plugins" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- https://www.w3schools.com/howto/howto_css_parallax.asp --> | |
<style> | |
body, html { | |
min-height: 100vh; | |
} | |
.parallax { | |
/* The image used */ | |
background-image: url("img_parallax.jpg"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var siteUrl = 'wp.lanbox.lt', | |
urlProtocol = 'http://', | |
secureUrl = false, | |
portNumber = 8888, | |
reloadDelayMiliseconds = 700; | |
var homeRoot = '../../', | |
srvRoot = homeRoot + 'www_srv/', | |
sitesRoot = srvRoot + 'clients/client1/', | |
wpContent = sitesRoot + siteUrl + '/web/wp-content/', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: WC Variation Dropdown Text | |
* Plugin URI: http://gelazius.eu | |
* Description: WC Variation Dropdown Text plugin replaces the default WooCommerce variation text from "Choose an option" to the current attribute title. | |
* Version: 1.0 | |
* Author: Vytenis Gelažius | |
* Author URI: http://gelazius.eu | |
**/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__ | |
_e | |
_c | |
__ngettext:1,2 | |
_n:1,2 | |
_nc:1,2 | |
__ngettext_noop:1,2 | |
_n_noop:1,2 | |
_x:1,2c | |
_nx:1,2,4c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a { | |
text-decoration: none; | |
position: relative; | |
color: #3366FF; | |
padding: 0 1em 0.125em; | |
} | |
a:after { | |
content: ''; | |
position: absolute; | |
bottom: 0; |
OlderNewer