Skip to content

Instantly share code, notes, and snippets.

View peterteszary's full-sized avatar
🎯
Focusing

Teszáry Péter peterteszary

🎯
Focusing
View GitHub Profile
<details><summary>System Status Report</summary>
```
### WordPress Environment ###
WordPress address (URL): [Redacted]
Site address (URL): [Redacted]
WC Version: 9.9.5
Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.
Action Scheduler Version: ✔ 3.9.2
[23-Jun-2025 07:32:16 UTC] Array
(
[switch_themes] => 1
[edit_themes] => 1
[activate_plugins] => 1
[edit_plugins] => 1
[edit_users] => 1
[edit_files] => 1
[manage_options] => 1
[moderate_comments] => 1
@peterteszary
peterteszary / docker-compose.yml
Created November 15, 2023 20:23
mysql+phpmyadmin simple docker compose file
version: '3'
services:
mysql:
image: mysql:latest
container_name: dev_mysql
restart: always
ports:
# <Port exposed> : < MySQL Port running inside container>
- "3306:3306"
@peterteszary
peterteszary / hover-zoom.css
Created June 27, 2023 18:12
[Hover zoom - Blogpost] It was used on the efaflex website I guess #css
.photo {
width: 400px;
height: 350px;
overflow: hidden;
}
 
img {
transition: transform 0.25s;
}
 
@peterteszary
peterteszary / remove-wysiwyg-editor.php
Created June 27, 2023 18:09
[Remove default Wysiwyg editor from specific(videok) post type] It is useful if you are using Meta Box plugin. #php
<?php
 
add_action('init', 'init_remove_support',100);
function init_remove_support(){
$post_type = 'videok';
remove_post_type_support( $post_type, 'editor');
}