HEX
Server: Apache
System: Linux nc-ph-4101.simplemoneygoals.com 5.14.0-503.21.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Jan 12 09:45:05 EST 2025 x86_64
User: dailygoldindex (1004)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/dailygoldindex/public_html/wp-content/themes/jnews/class/Module/Post/Post_Title_View.php
<?php
/**
 * @author : Jegtheme
 */
namespace JNews\Module\Post;

Class Post_Title_View extends PostViewAbstract
{
    public function render_module_back($attr, $column_class)
    {
        return
            "<div {$this->element_id($attr)} class='jeg_custom_title_wrapper {$attr['scheme']} {$attr['el_class']}'>
                <h1 class=\"jeg_post_title\">This is dummy title and will be replaced with real title of your post</h1>
            </div>";
    }

    public function render_module_front($attr, $column_class)
    {
        return
            "<div {$this->element_id($attr)} class='jeg_custom_title_wrapper {$attr['scheme']} {$attr['el_class']}'>
                <h1 class=\"jeg_post_title\">" . get_the_title() . "</h1>
            </div>";
    }
}