File manager - Edit - /home/infoilmg/public_html/wp-content/plugins/fs-poster/App/Pages/Settings/Views/Components/pinterest.php
Back
<?php namespace FSPoster\App\Pages\Settings\Views; use FSPoster\App\Providers\Pages; use FSPoster\App\Providers\Helper; defined( 'ABSPATH' ) or exit; ?> <link rel="stylesheet" href="<?php echo Pages::asset( 'Settings', 'css/fsp-instagram-preview.css' ); ?>"> <div class="fsp-settings-row"> <div class="fsp-settings-col"> <div class="fsp-settings-label-text"><?php echo fsp__( 'Cut the exceeded part of the post title' ); ?></div> <div class="fsp-settings-label-subtext"><?php echo fsp__( 'Pinterest limits the Pin title length to a maximum of 100 characters. By enabling the option, the first 100 characters of your post title will be shared; otherwise, the pin won\'t be shared because of the limit.' ); ?></div> </div> <div class="fsp-settings-col"> <div class="fsp-toggle"> <input type="checkbox" name="fs_pinterest_autocut_title" class="fsp-toggle-checkbox" id="fs_pinterest_autocut_title"<?php echo Helper::getOption( 'pinterest_autocut_title', '1' ) ? ' checked' : ''; ?>> <label class="fsp-toggle-label" for="fs_pinterest_autocut_title"></label> </div> </div> </div> <div class="fsp-settings-row fsp-is-collapser"> <div class="fsp-settings-collapser"> <div class="fsp-settings-label-text"><?php echo fsp__( 'Custom message' ); ?> <i class="fas fa-angle-up fsp-settings-collapse-state fsp-is-rotated"></i></div> <div class="fsp-settings-label-subtext"><?php echo fsp__( 'You can customize the text of the shared post as you like by using the current keywords. The custom message will be shared as Pin description and the limit is 500 characters. Pinterest cuts the custom message if it exceeds the limit. Note that shortened links are not supported by Pinterest.' ); ?></div> </div> <div class="fsp-settings-collapse"> <div class="fsp-settings-col"> <div class="fsp-settings-col-title"><?php echo fsp__( 'Text' ); ?></div> <div class="fsp-custom-post" data-preview="fspCustomPostPreview"> <textarea name="fs_post_text_message_pinterest" class="fsp-form-textarea"><?php echo esc_html( Helper::getOption( 'post_text_message_pinterest', "{title}" ) ); ?></textarea> <div class="fsp-custom-post-buttons"> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{id}"> {ID} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Post ID' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{product_regular_price}"> {PRODUCT_REGULAR_PRICE} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'WooCommerce - product price' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{author}"> {AUTHOR} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Post author name' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{content_short_40}"> {CONTENT_SHORT_40} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'The default is the first 40 characters. You can set the number whatever you want. The plugin will share that number of characters.' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{title}"> {TITLE} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Post title' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{featured_image_url}"> {FEATURED_IMAGE_URL} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Featured image URL' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{tags}"> {TAGS} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Post Tags' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{product_sale_price}"> {PRODUCT_SALE_PRICE} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'WooCommerce - product sale price' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{content_full}"> {CONTENT_FULL} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Post full content' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{excerpt}"> {EXCERPT} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Post excerpt' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{categories}"> {CATEGORIES} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Post Categories' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{uniq_id}"> {UNIQ_ID} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Unique ID' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{cf_KEY}"> {CF_KEY} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Custom fields. Replace KEY with the custom field name.' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-gray fsp-append-to-text" data-key="{link}"> {LINK} <i class="fas fa-info-circle fsp-tooltip" data-title="<?php echo fsp__( 'Post link' ); ?>"></i> </button> <button type="button" class="fsp-button fsp-is-red fsp-clear-button fsp-tooltip" data-title="<?php echo fsp__( 'Click to clear the textbox' ); ?>"> <?php echo fsp__( 'CLEAR' ); ?> </button> </div> </div> </div> <div class="fsp-settings-col"> <div class="fsp-settings-col-title"><?php echo fsp__( 'Preview' ); ?></div> <div class="fsp-settings-preview"> <div class="fsp-settings-preview-header"> <img src="#" onerror="FSPoster.no_photo( this );"> <div class="fsp-settings-preview-header-title"><?php echo get_bloginfo( 'name' ); ?></div> <i class="fas fa-ellipsis-h fsp-settings-preview-dots"></i> </div> <div class="fsp-settings-preview-image"></div> <div class="fsp-settings-preview-footer"> <div class="fsp-settings-preview-controls"> <i class="far fa-heart"></i> <i class="far fa-comment"></i> <i class="far fa-paper-plane"></i> </div> <div class="fsp-settings-preview-info"> <span class="fsp-settings-preview-info-title"><?php echo get_bloginfo( 'name' ); ?></span> <span id="fspCustomPostPreview" class="fsp-settings-preview-info-text"><?php echo esc_html( Helper::getOption( 'post_text_message_pinterest', "{title}" ) ); ?></span> </div> </div> </div> </div> </div> </div>
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Generation time: 1.25 |
proxy
|
phpinfo
|
Settings