Done !
Server IP : 162.0.217.223 / Your IP : 216.73.216.168 Web Server : LiteSpeed System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : mypckeys ( 1539) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mypckeys/www/wp-content/plugins/seo-by-rank-math/includes/modules/schema/shortcode/ |
Upload File : |
<?php /** * Shortcode - Book * * @package RankMath * @subpackage RankMath\Schema */ defined( 'ABSPATH' ) || exit; $this->get_title(); $this->get_image(); ?> <div class="rank-math-review-data"> <?php $this->get_description(); ?> <?php $this->get_field( esc_html__( 'URL', 'rank-math' ), 'url' ); ?> <?php $this->get_field( esc_html__( 'Author', 'rank-math' ), 'author.name' ); ?> <?php if ( ! empty( $schema['hasPart'] ) ) { $hash = [ 'edition' => __( 'Edition', 'rank-math' ), 'name' => __( 'Name', 'rank-math' ), 'url' => __( 'Url', 'rank-math' ), 'author' => __( 'Author', 'rank-math' ), 'isbn' => __( 'ISBN', 'rank-math' ), 'datePublished' => __( 'Date Published', 'rank-math' ), 'bookFormat' => __( 'Format', 'rank-math' ), ]; foreach ( $schema['hasPart'] as $edition ) { $this->schema = $edition; foreach ( $hash as $id => $label ) { $this->get_field( $label, $id ); } } $this->schema = $schema; } ?> <?php $this->show_ratings(); ?> </div>