Update FTP and database configuration for brpp.pl

This commit is contained in:
2025-11-03 21:32:39 +01:00
parent 8604599c46
commit f632e95630
4 changed files with 200 additions and 187 deletions

10
.vscode/ftp-kr.json vendored
View File

@@ -1,10 +1,10 @@
{
"host": "host117523.hostido.net.pl",
"username": "www@brpp.pagedev.pl",
"password": "LmjPPmby7uexMf7FGdSF",
"remotePath": "/public_html",
"host": "brpp.pl",
"username": "strona@brpp.pl",
"password": "nwQQzlTpxh2VC0l5rkwr",
"remotePath": "/brpp.pl/",
"protocol": "ftp",
"port": 0,
"port": 21,
"fileNameEncoding": "utf8",
"autoUpload": true,
"autoDelete": false,

12
.vscode/sftp.json vendored Normal file
View File

@@ -0,0 +1,12 @@
{
"name": "brpp.pl",
"host": "brpp.pl",
"protocol": "ftp",
"port": 21,
"username": "strona@brpp.pl",
"password": "nwQQzlTpxh2VC0l5rkwr",
"remotePath": "/brpp.pl/",
"uploadOnSave": false,
"useTempFile": false,
"openSsh": false
}

View File

@@ -20,16 +20,16 @@
// ** Database settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'host117523_brpp' );
define( 'DB_NAME', "00349672_prawopodatki" );
/** Database username */
define( 'DB_USER', 'host117523_brpp' );
define( 'DB_USER', "00349672_prawopodatki" );
/** Database password */
define( 'DB_PASSWORD', 'fUF8gjYE46t2zWjafdq3' );
define( 'DB_PASSWORD', "Yx7aMRxrf2I7ItnMBBDQ" );
/** Database hostname */
define( 'DB_HOST', 'localhost' );
define( 'DB_HOST', "mysql8" );
/** Database charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8mb4' );

View File

@@ -1,18 +1,19 @@
<?php
/**
/**
* Page: Nasze usługi
*/
get_header();
get_header();
$box1 = get_field('box-1');
$box2 = get_field('box-2');
$box3 = get_field('box-3');
$box4 = get_field('box-4');
$box1 = get_field('box-1');
$box2 = get_field('box-2');
$box3 = get_field('box-3');
$box4 = get_field('box-4');
?>
<main id="primary" class="site-main">
<main id="primary" class="site-main">
<div class="box-0">
<?php get_template_part('inc/breadcrumb');?>
<?php get_template_part('inc/breadcrumb'); ?>
</div>
<div class="box-1">
@@ -25,7 +26,7 @@
<div class="box-text">
<p><?php echo esc_html($box1['text']); ?></p>
</div>
<?php if($box1['btn']['title'] !== '') : ?>
<?php if ( isset( $box1['btn']['title'] ) and $box1['btn']['title'] !== '') : ?>
<a class="btn_3" href="<?php echo esc_url($box1['btn']['url']); ?>" target="<?php echo esc_attr($box1['btn']['target'] ?: '_self'); ?>">
<?php echo esc_html($box1['btn']['title']); ?>
</a>
@@ -77,7 +78,7 @@
</ol>
</div>
<div class="t-col t-col-2">
<ol class="c-acc-advanced" acc_child_id="<?= $tab_id + 1 ; ?>">
<ol class="c-acc-advanced" acc_child_id="<?= $tab_id + 1; ?>">
<?php foreach ($tab['accordion'] as $child_item_id => $item) :
$title = $item['accordion_data']['title'] ?? '';
$text = $item['accordion_data']['text'] ?? '';
@@ -176,6 +177,6 @@
</div>
</div>
</div>
</main>
</main>
<?php
get_footer();