Title: hamid009's Replies | WordPress.org

---

# hamid009

  [  ](https://wordpress.org/support/users/hamid009/)

 *   [Profile](https://wordpress.org/support/users/hamid009/)
 *   [Topics Started](https://wordpress.org/support/users/hamid009/topics/)
 *   [Replies Created](https://wordpress.org/support/users/hamid009/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/hamid009/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/hamid009/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/hamid009/engagements/)
 *   [Favorites](https://wordpress.org/support/users/hamid009/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 30 total)

1 [2](https://wordpress.org/support/users/hamid009/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/hamid009/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MailPoet - Newsletters, Email Marketing, and Automation] Fatal error when trying to re-activate plugin while form add-on is strill active](https://wordpress.org/support/topic/fatal-error-when-trying-to-re-activate-plugin-while-form-add-on-is-strill-active/)
 *  [hamid009](https://wordpress.org/support/users/hamid009/)
 * (@hamid009)
 * [5 months, 2 weeks ago](https://wordpress.org/support/topic/fatal-error-when-trying-to-re-activate-plugin-while-form-add-on-is-strill-active/#post-18834301)
 * I don’t have WS Form plugin but still getting this error because of woocommerce-
   pdf-invoices-packing-slips plugin and site including backend is crashing
 *     ```wp-block-code
       An error of type E_ERROR was caused in line 33 of the file /home/-/domains/-.com/public_html/wp-content/plugins/mailpoet/lib/Doctrine/TablePrefixMetadataFactory.php. Error message: Uncaught RuntimeException: DB table prefix not initialized in /home/-/domains/-.com/public_html/wp-content/plugins/mailpoet/lib/Doctrine/TablePrefixMetadataFactory.php:33Stack trace:#0 /home/-/domains/-.com/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/src/EntityManager.php(66): MailPoet\Doctrine\TablePrefixMetadataFactory->__construct()#1 /home/-/domains/-.com/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/src/EntityManager.php(460): MailPoetVendor\Doctrine\ORM\EntityManager->__construct()#2 /home/-/domains/-.com/public_html/wp-content/plugins/mailpoet/lib/Doctrine/EntityManagerFactory.php(67): MailPoetVendor\Doctrine\ORM\EntityManager::create()#3 /home/-/domains/-.com/public_html/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(676): MailPoet\Doctrine\EntityManagerFactory->createEntityManager()#4 /home/-/domains/-.com/public_html/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(5166): MailPoetGenerated\FreeCachedContainer->getEntityManagerService()#5 /home/-/domains/-.com/public_html/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(5156): MailPoetGenerated\FreeCachedContainer->getSettingsRepositoryService()#6 /home/-/domains/-.com/public_html/wp-content/plugins/mailpoet/vendor-prefixed/symfony/dependency-injection/Container.php(122): MailPoetGenerated\FreeCachedContainer->getSettingsControllerService()#7 /home/-/domains/-.com/public_html/wp-content/plugins/mailpoet/vendor-prefixed/symfony/dependency-injection/Container.php(110): MailPoetVendor\Symfony\Component\DependencyInjection\Container->make()#8 /home/-/domains/-.com/public_html/wp-content/plugins/mailpoet/lib/DI/ContainerWrapper.php(39): MailPoetVendor\Symfony\Component\DependencyInjection\Container->get()#9 /home/-/domains/-.com/public_html/wp-content/plugins/mailpoet/lib/Settings/SettingsController.php(234): MailPoet\DI\ContainerWrapper->get()#10 /home/-/domains/-.com/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/woocommerce-pdf-invoices-packingslips.php(422): MailPoet\Settings\SettingsController::getInstance()#11 /home/-/domains/-.com/public_html/wp-includes/class-wp-hook.php(341): WPO_WCPDF->mailpoet_mta_detected()#12 /home/-/domains/-.com/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()#13 /home/-/domains/-.com/public_html/wp-includes/plugin.php(522): WP_Hook->do_action()#14 /home/-/domains/-.com/public_html/wp-admin/admin-header.php(313): do_action()#15 /home/-/domains/-.com/public_html/wp-admin/plugins.php(637): require_once('/home/-...')#16 {main}  thrown
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals] Auto prefetch URL adding products in cart](https://wordpress.org/support/topic/auto-prefetch-url-adding-products-in-cart/)
 *  Thread Starter [hamid009](https://wordpress.org/support/users/hamid009/)
 * (@hamid009)
 * [8 months, 1 week ago](https://wordpress.org/support/topic/auto-prefetch-url-adding-products-in-cart/#post-18746609)
 * When I enable ‘Auto prefecth URLs on mouse hover’ and then open shop page, and
   hover to any Add to Cart button it prefetch this url and add Product to the cart
   although customer never clicked on Add to Cart just hovered it.
   [https://site.com/product-category/product/?add-to-cart=3692](https://site.com/product-category/product/?add-to-cart=3692)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Automation Web Platform – Notifications and OTP for WooCommerce, Advanced Country Code] Curl Timed Out Error](https://wordpress.org/support/topic/curl-timed-out-error/)
 *  Thread Starter [hamid009](https://wordpress.org/support/users/hamid009/)
 * (@hamid009)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/curl-timed-out-error/#post-18701196)
 * Keep sending Curl Error on retrying but now showing limited reached, hardly successfully
   sent only 20 or so messages. I want to buy this but first have to try stability
   first.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MailPoet - Newsletters, Email Marketing, and Automation] How to Add another column on subscribers page](https://wordpress.org/support/topic/how-to-add-another-column-on-subscribers-page/)
 *  Thread Starter [hamid009](https://wordpress.org/support/users/hamid009/)
 * (@hamid009)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/how-to-add-another-column-on-subscribers-page/#post-18312302)
 * Yes
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MailPoet - Newsletters, Email Marketing, and Automation] SMTP – alert user when sending is paused](https://wordpress.org/support/topic/smtp-alert-user-when-sending-is-paused/)
 *  Thread Starter [hamid009](https://wordpress.org/support/users/hamid009/)
 * (@hamid009)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/smtp-alert-user-when-sending-is-paused/#post-18191161)
 * That post is from 2021, so I think it will be useless to ask for this as clearly
   it is not on Mailpoet priority, I think I will write my own function.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Zoho Mail for WordPress] Zoho Mail sending Wordfence notifications to Main Email](https://wordpress.org/support/topic/zoho-mail-sending-wordfence-notifications-to-main-email/)
 *  Thread Starter [hamid009](https://wordpress.org/support/users/hamid009/)
 * (@hamid009)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/zoho-mail-sending-wordfence-notifications-to-main-email/#post-18163376)
 * Sorry my Bad, client sent screenshot of email only, just checked it was in SENT
   folder, which is obvious.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Disable Automatic Updates logs in Debug.log](https://wordpress.org/support/topic/disable-automatic-updates-logs-in-debug-log/)
 *  Thread Starter [hamid009](https://wordpress.org/support/users/hamid009/)
 * (@hamid009)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/disable-automatic-updates-logs-in-debug-log/#post-18089899)
 * I am more interested in only disabling logs about Updates and not all logs. if
   it is not possible than how can I disable auto updates from running ?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Elementor Website Builder - more than just a page builder] Hidden Container in Desktop (only visible in mobile) is shown in source code.](https://wordpress.org/support/topic/hidden-container-in-desktop-only-visible-in-mobile-is-show-in-source-code/)
 *  [hamid009](https://wordpress.org/support/users/hamid009/)
 * (@hamid009)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/hidden-container-in-desktop-only-visible-in-mobile-is-show-in-source-code/#post-18066494)
 * I don’t think hidden h1 [cause any problem for google](https://www.youtube.com/watch?v=GIn5qJKU8VM).
   but if you still wants to change what you can do is use single h1, then change
   text using JS, just add Custom HTML and add this code
   <script> function updateHeading(){_//
   You can_ use specific selector and width according to your situation const heading
   = document.querySelector(‘h1’); if (window.innerWidth <= 768) {heading.textContent
   = ‘This is mobile Heading’; } else { heading.textContent = ‘This is Desktop Heading’;}}
   window.addEventListener(‘resize’, updateHeading); window.addEventListener(‘load’,
   updateHeading); </script>
    -  This reply was modified 1 year, 10 months ago by [hamid009](https://wordpress.org/support/users/hamid009/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MailPoet - Newsletters, Email Marketing, and Automation] Send Custom Emails Weekly](https://wordpress.org/support/topic/send-custom-emails-weekly/)
 *  Thread Starter [hamid009](https://wordpress.org/support/users/hamid009/)
 * (@hamid009)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/send-custom-emails-weekly/#post-18048672)
 * so this is my setup, I have Jobs Custom Post Type, with 20 Categories, and I 
   already created 20 Lists and added them to Subscribe link of each job form, so
   if someone fill mailpoet form on Job of IT category so Mailpoet will add them
   to IT List, now what I did I created custom shortcode using funcitons.php file,
   
   I want to send latest 6 jobs from category to same list if new job is posted 
   on that category, **(how can I get the last sent date of mailpoet in that category
   so I can only send limited new jobs in case there is only 2 or 3 new jobs in 
   that category, I haven’t explore that part, may be your developer can shed light
   on this part and give me some hooks etc).**Anyways this is how I am creating 
   custom shortcode which I then add into Mailpoet email body as `[custom:latest_posts"
   my-job-category"]` and it shows latest 6 jobs from my-job- category,when emails
   are sent.`function mailpoet_custom_shortcode($shortcode, $newsletter, $subscriber,
   $queue, $newsletter_body, $arguments) {preg_match('/[custom:latest_posts\s+("[
   ^"]+")?]/', $shortcode, $matches);
 *     ```wp-block-code
       $category_slug = ''; if (!empty($matches[1])) {    $category_slug = trim($matches[1], '"');}$args = array(    'posts_per_page' => 6,    'post_type' => 'job_listing',    'post_status' => 'publish',    'tax_query' => array(        array (            'taxonomy' => 'job_listing_category',            'field' => 'slug',            'terms' => $category_slug,        )    ),    'orderby' => 'date',    'order' => 'DESC',);$latest_posts = new WP_Query($args);
       ```
   
 * Now problem is that I am querying and showing these jobs in my own template, 
   so I don’t need Latest Post widget to show posts in email body, but somehow only
   trigger this when there is new jobs in that category.
   Okay I didn’t find solution
   but I did trick, I added the Latest Post Widget, and change Post to 1, then changed
   link color to white which is my background color, and changed all other links
   on pages to different colors manually, now when some new jobs are posted in category
   it does trigger email.but is there a neat way to do this ?also can you tell me
   if there is a way to add some check in WP_Query to only send jobs which are posted
   after last mailpoet email ?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Masteriyo LMS – LMS Course Builder, Quizzes & Certificates] Add Short Description and Thumbnail](https://wordpress.org/support/topic/add-short-description-and-thumbnail/)
 *  Thread Starter [hamid009](https://wordpress.org/support/users/hamid009/)
 * (@hamid009)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/add-short-description-and-thumbnail/#post-18044666)
 * I meant something like this short description and thumbnail or sidebar.
   [https://prnt.sc/aUHbmegP-DNr](https://prnt.sc/aUHbmegP-DNr)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Elementor Website Builder - more than just a page builder] Floating Bar on top making page scroll to bottom](https://wordpress.org/support/topic/floating-bar-on-top-making-page-scroll-to-bottom/)
 *  Thread Starter [hamid009](https://wordpress.org/support/users/hamid009/)
 * (@hamid009)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/floating-bar-on-top-making-page-scroll-to-bottom/#post-18039969)
 * Thanks for reply, I am using Hello Theme, I have tried incognito mode as well,
   and tried on another page without any other thing,
   when open page in new tabs
   it works fine, no matter how many times, but problem occurs on refresh because
   chrome try to scroll to element currently showing on screen, I have checked the
   view source of the page floating bar html is in the end of the page and I think
   Elementor uses Javascript to move it upto DOM after page loads, so when we refresh
   page chrome tries to scroll to Floating bar which is at bottom of the page while
   page is loading CSS JS.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Elementor Website Builder - more than just a page builder] Cant edit floating elements](https://wordpress.org/support/topic/cant-edit-floating-elements/)
 *  [hamid009](https://wordpress.org/support/users/hamid009/)
 * (@hamid009)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/cant-edit-floating-elements/#post-18038566)
 * I had same issue, This is due to latest version of Elementor Pro, from tools 
   roll back latest version of Elementor Pro to 3.23.2 and it will solve the issue
   for now.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Masteriyo LMS – LMS Course Builder, Quizzes & Certificates] Add Materials as Tab](https://wordpress.org/support/topic/add-materials-as-tab/)
 *  Thread Starter [hamid009](https://wordpress.org/support/users/hamid009/)
 * (@hamid009)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/add-materials-as-tab/#post-18038331)
 * I was able to solve it through Javascript, thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Elementor Website Builder - more than just a page builder] the_content area not found when creating Floating Bar](https://wordpress.org/support/topic/the_content-area-not-found-when-creating-floating-bar/)
 *  Thread Starter [hamid009](https://wordpress.org/support/users/hamid009/)
 * (@hamid009)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/the_content-area-not-found-when-creating-floating-bar/#post-18031011)
 * Latest Elementor Pro was causing the issue, downgrading Elementor Pro fixed it.
   thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Masteriyo LMS – LMS Course Builder, Quizzes & Certificates] Add Materials as Tab](https://wordpress.org/support/topic/add-materials-as-tab/)
 *  Thread Starter [hamid009](https://wordpress.org/support/users/hamid009/)
 * (@hamid009)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/add-materials-as-tab/#post-18016675)
 * This is what I am looking for,
   [https://imgur.com/a/eIlBdkV](https://imgur.com/a/eIlBdkV)
   Materials as new tab instead of in same description without any heading etc,I
   know php and can made changes in other codes etc, is it possible to made changes
   in code to do this ? I have reviewed the code and it seems it is built with chakra-
   ui and not php, can you guide me where can I find relevant code of these tabs
   and downloadable materials ?

Viewing 15 replies - 1 through 15 (of 30 total)

1 [2](https://wordpress.org/support/users/hamid009/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/hamid009/replies/page/2/?output_format=md)