isitegate
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Job Board] I want to make jobs my homepageOK, the shortcode was wrong, I used [jobpost] and worked.
and what to do regarding the slow queries; https://prnt.sc/yyg1k3
one of them takes 11+ seconds: https://prnt.sc/yyfytj@dion; Thank you for your suggestions, i have changed the engine to innodb for wp-posts, wp-postmeta and wp-option.
also increased innodb_buffer_pool_size from 2M to 200M (Not sure if that is too much!!)
Still watching the performance; will update here later;@scsiraidguru; I have atop installed but I’m not good at reading the outputs well, so I still can’t find out what is spiking the cpu.
@all;
please see this and let me know if that is normal, the wp_postmeta seems having loops of same meta_keys. https://prnt.sc/yydybcThank you for your efforts and time.
Forum: Fixing WordPress
In reply to: How to check if page id is larger than a number@vladytimy Thanks a lot, yes i’m using a child theme.
and now i have done it like this.
first checked the timestamp for the day, get_the_date(“U”)
then
<?php if (get_the_date(“U”) < 1611583484){ ?>
display something
<?php } ?>Thanks again.
Forum: Fixing WordPress
In reply to: How to check if page id is larger than a number@vladytimy thanks a lot.
i tried looking at the documentations but can’t figure out if this is correct? ..
<?php if (get_the_date("l, F j, Y") < Friday, September 24, 2004){
or
<?php if (get_the_date("l, F j, Y") < 'Friday, September 24, 2004'){or is there another way?
- This reply was modified 5 years, 4 months ago by Steven Stern (sterndata).
- This reply was modified 5 years, 4 months ago by Steven Stern (sterndata).
Forum: Fixing WordPress
In reply to: How to check if page id is larger than a number@harshithareddy is this a mock?
Forum: Fixing WordPress
In reply to: Checking if a page is a child page not taking effect.@fullworks;
Thank you very much, i have checked and it is set as has no parent.
I will change that now and try the code again.Forum: Fixing WordPress
In reply to: Checking if a page is a child page not taking effect.your peice of code worked for first level child page and not below that.. any hint can be taken from that?
Forum: Fixing WordPress
In reply to: Checking if a page is a child page not taking effect.No those classes are not there Steve,
neither logical condition nor styling is working for meForum: Fixing WordPress
In reply to: Checking if a page is a child page not taking effect.please can you help my fixing my issue?
or at least.. can i ask for another help please?I now can add the HTML without any logic then in the custom CSS i can hide it on partent pages.
This can be easy if i have something like <body clas=” page page-id-.. “> but in my them all pages have the same body tag attributes, there is a different class assigned to the html tage but that didn’t work, please see screenshot https://prnt.sc/x8fwcuForum: Fixing WordPress
In reply to: Checking if a page is a child page not taking effect.@fullworks: Thanks a lot.
@sterndata: it worked for first level children but not below that, and i have printed the current post object but can’t understand it.. please have a look
this is home page :
Home [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => temporary-staff [to_ping] => [pinged] => [post_modified] => 2020-11-21 14:25:19 [post_modified_gmt] => 2020-11-21 14:25:19 [post_content_filtered] => [post_parent] => 0 [guid] => https://temporary-staff.agency/?page_id=15 [menu_order] => 0 [post_type] => page [post_mime_type] => [comment_count] => 0 [filter] => raw ) WP_Post Object ( [ID] => 15 [post_author] => 1 [post_date] => 2016-03-11 12:27:10 [post_date_gmt] => 2016-03-11 12:27:10 [post_content] => TEMPORARY STAFF AGENCYAnd this is a second level child page:
[post_title] => Dental Nurse Agency [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => dental-nurse-agency [to_ping] => [pinged] => [post_modified] => 2020-07-24 18:24:46 [post_modified_gmt] => 2020-07-24 18:24:46 [post_content_filtered] => [post_parent] => 0 [guid] => https://temporary-staff.agency/dental-nurse-agency/ [menu_order] => 0 [post_type] => page [post_mime_type] => [comment_count] => 0 [filter] => raw ) WP_Post Object ( [ID] => 1334 [post_author] => 1 [post_date] => 2020-07-24 18:24:46 [post_date_gmt] => 2020-07-24 18:24:46 [post_content] =>Forum: Fixing WordPress
In reply to: What is the variable for Page Title and Page Posting Date?Thanks a lot, i have attmeted to add it to page.php in my child theme, but for some reason it doesn’t change the frontend even after deleting the cache.
I noticed that most of files have
defined( ‘ABSPATH’ ) OR die( ‘This script cannot be accessed directly.’ );
could that be the reason?- This reply was modified 5 years, 5 months ago by isitegate.
Forum: Fixing WordPress
In reply to: Detect low ranking pages on search enginesActually, all SEO work is done so yoast or similar plugon is not the main player here, we want ot detect page clicks and impressions from google console and add a filter for these two categories (clicks, impressions)
Forum: Fixing WordPress
In reply to: Detect low ranking pages on search enginesWe use Yoast. but can use all in one seo if that is better for this task.
Thanks again, i have contacted the server support to look into the error logs, will update here later.
Yes you are right, we are only hitting on one page not 18000.
so there is no limit to howw much wordpress databasecan handle, also the limit of traffic as these site get too many thousadns hits per day.