beat sk
Forum Replies Created
-
Forum: Plugins
In reply to: [Super Progressive Web Apps] Disabling “Add to home screen’Forum: Fixing WordPress
In reply to: Fixed background image no matter what resolution.Forum: Fixing WordPress
In reply to: Fixed background image no matter what resolution.Hello @prabhatrai
as trieda2f said, we have a wider background. That one https://spawn.vosveteit.sk/wp-content/uploads/2021/01/spawn_background_default.jpg I am trying to fit the blue edges around content (content has 1200px, max-width 1200px too). On bigger resolutions it is smaller. With F11 (fullscreen mode) i tried it and same thing, too.
Used css: .site-inner { padding-top: 200px !important ; background: fixed no-repeat center center; background-size: 2560px 990px; }
I dont know what i am missing, but the background have 2560×990 px. Thanks
- This reply was modified 4 years, 2 months ago by beat sk.
Forum: Fixing WordPress
In reply to: Change Date “Timestamp”Hello again Steven,
i found only that in my parent theme
/** * Post Date * * @since 1.0.0 */ function zeen_date( $pid = '', $args = array() ) { $format = get_theme_mod( 'date_format', 1 ); $time_mod = ''; $mod_date = get_the_modified_time( 'U', $pid ); $time = get_the_time( 'U', $pid ); $updated = empty( $args['updated'] ) ? '' : $args['updated']; if ( $time != $mod_date && 'on' == $updated ) { $time_mod = true; } if ( empty( $args['publish_off'] ) ) { echo '<span class="byline-part date">'; if ( ! empty( $args['icon'] ) ) { echo '<i class="tipi-i-calendar" aria-hidden="true"></i> '; } if ( ! empty( $args['sentence'] ) && 2 != $format ) { echo '<span class="byline-on byline-blog-detail">' . esc_html__( 'on', 'zeen' ) . ' </span>'; } echo '<time class="entry-date published dateCreated flipboard-date" datetime="' . esc_attr( get_the_date( 'c', $pid ) ) . '">'; switch ( $format ) { case 2: echo sprintf( esc_html__( '%1$s ago', 'zeen' ), human_time_diff( $time, current_time( 'timestamp' ) ) ); break; default: echo get_the_date( '', $pid ); break; } echo '</time>'; echo '</span>'; } if ( ! empty( $time_mod ) ) { $date = get_the_date( '', $pid ); $mod = get_the_modified_date( '', $pid ); $modified = get_the_modified_date( 'c' ); if ( $date != $mod && strtotime( $modified ) > strtotime( '-12 months' ) ) { if ( ! empty( $args['byline'] ) ) { echo '<span class="byline-part updated">'; } echo '<div class="last__updated">'; echo '<span class="last__updated__title">'; esc_html_e( 'Last updated', 'zeen' ); echo apply_filters( 'zeen_last_updated_separator', ':' ); echo '</span>'; echo '<time class="updated" datetime="' . esc_attr( $modified ) . '">'; switch ( $format ) { case 2: echo sprintf( '%1$s %2$s', human_time_diff( $mod_date, current_time( 'timestamp' ) ), esc_html__( 'ago', 'zeen' ) ); break; default: echo get_the_modified_date( '', $pid ); break; } echo '</div></time>'; if ( ! empty( $args['byline'] ) ) { echo '</span>'; } } } }
And this for comments
/** * Post Comments Block * * @since 1.0.0 */ function zeen_comment_template( $args = '', $standalone = '' ) { if ( empty( $args['ipl'] ) ) { if ( ! empty( $standalone ) ) { echo '<div class="tipi-col tipi-xs-12 standalone-comments clearfix">'; } if ( get_theme_mod( 'fb_comments' ) == 1 ) { global $post; zeen_fb_coms( $post->ID ); } else { comments_template(); } if ( ! empty( $standalone ) ) { echo '</div>'; } } else { zeen_ipl_coms( array( 'pid' => $args['pid'] ) ); } }
I dont know what to do. :/
- This reply was modified 4 years, 8 months ago by beat sk.
Forum: Fixing WordPress
In reply to: Change Date “Timestamp”We have a code (find on the internet) but we dont know how to use it as an function in functions.php
<?php $date=get_the_time('d.m.Y'); $today=date('d.m.Y'); $yesterday=date('d.m.Y',strtotime("-1 days")); if($today==$date){ $date_show="Today"; }else{ if($yesterday==$date){ $date_show="Yesterday"; }else{ $date_show=$date; } } echo "$date_show"; ?>
Someone maybe know how to use it in functions.php (in the child theme)
Forum: Fixing WordPress
In reply to: Change Date “Timestamp”Hello Steven,
Thank you for your answer, but we dont want any more plugins if we dont need them ??
Hello,
on mobile phone is secondary menu disabled, but with code it is activated :/
Forum: Fixing WordPress
In reply to: SPAM registrationsHello,
I do not understend? Where it i find? How to change it? I am sure with one option, we need it, but dont know how to do it. Where is Alter table? What is it?
Thank you.
Forum: Fixing WordPress
In reply to: SPAM registrationsEvery user has his own ID after registration (user ID) but because of that annoying registrations every new user has the next number after the (deleted) user accounts specific ID. I want to continue right after normal registrations. We want to have for “userregistred1” id what has “deleteduser1” after registration but that usernwas removed. Deleteduser1 has 8433 ID but last normal user has 764 ID and every after that was SPAM. I deleted that account but every new have the next one ID “8434, 8435..” etc.
Forum: Fixing WordPress
In reply to: SPAM registrationsAh thank you, i will try it. And how can I reset the IDs of user to continue with last registered ID and not after it was deleted?
Hello,
I am in favor of this idea, too. Maybe after activating of account will give it automatically or tied to a custom field in your profile.
Forum: Plugins
In reply to: [Sticky Side Buttons] DiscordHello Maeve. Discord icon is in the latest version of Font Awesome.. Many of us still waiting for the update. ??
https://fontawesome.com/icons/discord?style=brandsForum: Plugins
In reply to: [Sticky Side Buttons] Upgrade to font awesome v5How long it will take? Manual upgrade not working.