custom post types – single and double quotes are displaying as HTML – eg ’ and “

In titles of custom posts the single and double quotes are displaying as HTML – eg: the string starting with & and ending with ; – in the front end, although in the backend they are just typed as regular straight ‘ and “.

Not sure what is causing this. Is there any way to fix it?

Sorry if I have used the wrong terminology – not familiar with this problem.


backup – Old site in Magento 1 ( probably) no longer displaying properly

Good evening friends,

I’ve lost contact with my developer years ago and kept running the same M1 backup i had from 2017 whenever something stopped working. However, now that fails too, even if i erase everything and put the 2017 backup or load a backup from when the site worked, it doesn’t load anymore. Please be kind and share some thoughts so that i can restore the backup i have and have it run until i manage to build the new site.

current errors are visible since i edited the sample.xml in errors to show them: There has been an error processing your request The PDO extension is required for this adapter but the extension is not loaded

Trace: #0 /home/drapajer/public_html/lib/Zend/Db/Adapter/Abstract.php(248): Zend_Db_Adapter_Pdo_Abstract->setFetchMode(2) #1 /home/drapajer/public_html/app/code/core/Mage/Core/Model/Resource.php(175): Zend_Db_Adapter_Abstract->__construct(Array) #2 /home/drapajer/public_html/app/code/core/Mage/Core/Model/Resource.php(110): Mage_Core_Model_Resource->_newConnection(‘pdo_mysql’, Array) #3 /home/drapajer/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(320): Mage_Core_Model_Resource->getConnection(‘core_write’) #4 /home/drapajer/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(350): Mage_Core_Model_Resource_Db_Abstract->_getConnection(‘write’) #5 /home/drapajer/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(335): Mage_Core_Model_Resource_Db_Abstract->_getWriteAdapter() #6 /home/drapajer/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(360): Mage_Core_Model_Resource_Db_Abstract->_getReadAdapter() #7 /home/drapajer/public_html/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php(134): Mage_Core_Model_Resource_Db_Abstract->getReadConnection() #8 /home/drapajer/public_html/app/code/core/Mage/Core/Model/Config.php(1348): Mage_Core_Model_Resource_Db_Collection_Abstract->__construct(Object(Mage_Core_Model_Resource_Website)) #9 /home/drapajer/public_html/app/code/core/Mage/Core/Model/Config.php(1380): Mage_Core_Model_Config->getModelInstance(‘core_resource/w…’, Object(Mage_Core_Model_Resource_Website)) #10 /home/drapajer/public_html/app/Mage.php(491): Mage_Core_Model_Config->getResourceModelInstance(‘core/website_co…’, Object(Mage_Core_Model_Resource_Website)) #11 /home/drapajer/public_html/app/code/core/Mage/Core/Model/Abstract.php(208): Mage::getResourceModel(‘core/website_co…’, Object(Mage_Core_Model_Resource_Website)) #12 /home/drapajer/public_html/app/code/core/Mage/Core/Model/Abstract.php(213): Mage_Core_Model_Abstract->getResourceCollection() #13 /home/drapajer/public_html/app/code/core/Mage/Core/Model/App.php(619): Mage_Core_Model_Abstract->getCollection() #14 /home/drapajer/public_html/app/code/core/Mage/Core/Model/App.php(477): Mage_Core_Model_App->_initStores() #15 /home/drapajer/public_html/app/code/core/Mage/Core/Model/App.php(360): Mage_Core_Model_App->_initCurrentStore(”, ‘store’) #16 /home/drapajer/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array) #17 /home/drapajer/public_html/index.php(87): Mage::run(”, ‘store’) #18 {main}

Thank you very much, Have a good night Kind regards Horace p.s. feel free to drop me a whatsapp @ +40722600887 if you like

custom post types – Feature image does not displaying in backend

I know this question have been asked a lot of times but I test all the answers found and it does not work.

I have not the “featured image” block in my wordpress admin. When I create a post for example I have not this and neither in the custom post “team”.

So I have created my own theme, I have no plugin yet (no conflict here).

I have this in functions.php :

add_action( 'after_setup_theme', 'mytheme_add_theme_support' );
function mytheme_add_theme_support() {
add_theme_support('custom-header'); //custom header image
 add_theme_support( 'post-thumbnails' ); //feature image
} //end function add theme support

And in my custom post type “team” I have this :

'supports' => ('title', 'thumbnail', 'editor'), 

My cpt “team” :

add_action('init', 'teams_cpt_init');
function teams_cpt_init() {
    register_post_type('team', (
        'labels' => (
            'name'                  => _x( 'Teams', 'Post type general name', 'mytheme' ),
            'singular_name'         => _x( 'Team', 'Post type singular name', 'mytheme' ),
            'menu_name'             => _x( 'Teams', 'Admin Menu text', 'mytheme' ),
            'name_admin_bar'        => _x( 'Team', 'Add New on Toolbar', 'mytheme' ),
            'add_new'               => __( 'Add new team', 'mytheme' ),
  'featured_image'        => _x( 'Add team picture', 'Overrides the “Featured Image” phrase for this post type. Added in 4.3', 'mytheme' ),
            'set_featured_image'    => _x( 'Add team picture', 'Overrides the “Set featured image” phrase for this post type. Added in 4.3', 'mytheme' ),
            'remove_featured_image' => _x( 'Remove team picture', 'Overrides the “Remove featured image” phrase for this post type. Added in 4.3', 'mytheme' ),
            'use_featured_image'    => _x( 'Use like feature image', 'Overrides the “Use as featured image” phrase for this post type. Added in 4.3', 'mytheme' ),


        'public' => true,
        'has_archive' => true, 
        'rewrite' => ('slug' => 'team'),
        'supports' => ('title', 'thumbnail', 'editor'),  
        'menu_icon' => 'dashicons-flag',
        'show_in_rest' => true,

And in my functions.php :

require_once __DIR__ .  '/cpt/teams.php';

So I don’t understand why I have not the feature image section in my admin part.

Thanks a lot for your response

database – FillPDF not displaying ‘foreign’ characters

I’m using the fillpdf module with the online FillPDF service to render the PDFs. Most everything is working great; however, if a database field I’m displaying on the PDF contains certain ‘foreign’ characters, those characters don’t display at all.

Notably, this occurs with the circumflex (ĉ) and caron (č) characters. Other foreign chars display fine (eg ö, é, è …).

Not sure if this is an issue with the FillPDF Online service or the way our database is configured. Everything displays correctly elsewhere – ie. on our website, printed documents Etc.

Anyone got any ideas?

get_the_post_thumbnail() not displaying

PHP newb here.

I’m trying to create a function that will list child pages with their featured image. But I can’t get the image to display using get_the_post_thumbnail(). I’ve tried a bunch of things but I’m stumped.

function show_child_grid() {
    $parent = get_the_ID( $post->post_parent );
    $args = array(
        'child_of'      => $parent,
        'sort_column'   => 'post_title'
    $pages = get_pages( $args );
    $output = '';
    foreach($pages as $page){
        $thumb = get_the_post_thumbnail( $page->ID );
        $output .= '<div>' . $thumb . '<a href="' . $page->post_name . '" >' .  $page->post_title . '</a></div>';
    return $output;

seo – Google mobile search not displaying thumbnail

seo – Google mobile search not displaying thumbnail – Webmasters Stack Exchange

seo – Google Mobile not displaying thumbnail

Why Google Mobile Search does not display thumbnail for websites even if, meta tags and OpenGraph tags are all correct and follows SEO best-practice? As you can see from the following example (Official Website result) The page is filled with opengraph tags, json+ld schema, main image is placed above the fold and wrapped inside h1 tag with alt proprety correctly set.

forms – Does displaying fields only after selection reduce conversion?

I’m designing a checkout flow, and it needs to ask the user for registration fields at 3 different times (this is necessary by the rule of the third party we are using). I know that this many fields is bad for the experience, so I thought of hiding the last field section at first, so that it is displayed only after the user selects the offer that will be available to him. The question is whether this is good practice or should I show the fields as soon as the screen loads.

magento2.4.2 – hyperlink or div is displaying on menu link in admin

In admin Stores->Configuration
div tag is displaying

enter image description here

My code is

 <config xmlns:xsi="" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
      <tab id="plumrocket" translate="label" sortOrder="400">
            <div style="padding-left:22px; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh) left 50% no-repeat;">Plumrocket</div> ))></label>

Why is Gmail suddenly not displaying my full name in the “From” field in my outgoing emails?

I recently noticed that Gmail is just displaying my email address (rather than my full name) in my outgoing mails:

enter image description here

Whereas earlier it used to be like this:

enter image description here

I did check the “Send mail as” field. It still shows my full name followed by my email id.

What went wrong and how can I correct this?

(I noticed this change today after re-installing my Chrome browser. I’m sure if it has anything to do with that.)

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive New Proxy Lists Every Day Proxies123