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 | |
function send_email($recipent_email, $subject, $message) | |
{ | |
$this->load->library('email'); | |
$this->email->from('no-reply@domena.pl', 'Nadawca'); | |
$this->email->to($recipent_email); | |
$this->email->subject($subject); | |
$this->email->message($message); |
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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
$config = array( | |
'protocol' => 'smtp', | |
'smtp_host' => 'ssl://nazwa-klienta-nazwa.nazwa.pl', | |
'smtp_port' => '465', | |
'smtp_user' => 'nazwa@domena.pl', | |
'smtp_pass' => 'haslo-do-skrzynki', | |
'mailtype' => 'html' | |
); |
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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
// Aby to zadzialalo nalezy włączyć Zezwalanie mniej bezpiecznym aplikacjom na dostęp do konta | |
$config = array( | |
'protocol' => 'smtp', | |
'smtp_host' => 'ssl://smtp.googlemail.com', | |
'smtp_port' => '465', | |
'smtp_user' => 'adres-skrzynki@gmail.com', | |
'smtp_pass' => 'haslo-do-skrzynki' | |
); |
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
<!DOCTYPE html> | |
<html <?php language_attributes(); ?>> | |
<head> | |
<meta charset="<?php bloginfo( 'charset' ); ?>"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<?php wp_head(); ?> | |
<style> |
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 global $theme; get_header(); ?> | |
<div id="main"> | |
<?php $theme->hook('main_before'); ?> | |
<div id="content"> | |
<?php $theme->hook('content_before'); ?> | |
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 global $theme; get_header(); ?> | |
<div id="main"> | |
<?php $theme->hook('main_before'); ?> | |
<div id="content"> | |
<?php $theme->hook('content_before'); ?> | |
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 global $theme; get_header(); ?> | |
<div id="main"> | |
<?php $theme->hook('main_before'); ?> | |
<div id="content"> | |
<?php $theme->hook('content_before'); ?> | |
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: Title shortcode | |
* Description: Turns support for shortcodes placed in post/page title | |
* Version: 1.0 | |
* Author: ziemekpr0 | |
* Author Email: ziemekpr0@gmail.com | |
* Author URI: http://wpadmin.pl | |
* License: GPLv2 or later | |
*/ |
NewerOlder