/** * 1. Fix WordPress core comment author URL * Simplified to use only 1 argument to prevent "Line 8" argument errors. */ add_filter( 'get_comment_author_url', 'ghana_edu_fix_comment_url', 10, 1 ); function ghana_edu_fix_comment_url( $url ) { if ( empty( $url ) || $url === 'http://' ) { // Fallback to a fragment link to satisfy Google return home_url( '/#author' ); } return $url; }/** * 2. Specifically fix Yoast SEO Schema output for Comments */ add_filter( 'wpseo_schema_graph_piece', 'ghana_edu_yoast_comment_url_fix', 10, 2 ); function ghana_edu_yoast_comment_url_fix( $piece, $context ) { // Check if this part of the Yoast graph contains comments if ( is_array( $piece ) && isset( $piece['comment'] ) && is_array( $piece['comment'] ) ) { foreach ( $piece['comment'] as &$comment ) { if ( isset( $comment['author'] ) && empty( $comment['author']['url'] ) ) { // Generate a fallback URL for the author to clear GSC warning $comment['author']['url'] = home_url( '/#author' ); } } } return $piece; }/** * 1. Fix WordPress core comment author URL * Simplified to use only 1 argument to prevent "Line 8" argument errors. */ add_filter( 'get_comment_author_url', 'ghana_edu_fix_comment_url', 10, 1 ); function ghana_edu_fix_comment_url( $url ) { if ( empty( $url ) || $url === 'http://' ) { // Fallback to a fragment link to satisfy Google return home_url( '/#author' ); } return $url; }/** * 2. Specifically fix Yoast SEO Schema output for Comments */ add_filter( 'wpseo_schema_graph_piece', 'ghana_edu_yoast_comment_url_fix', 10, 2 ); function ghana_edu_yoast_comment_url_fix( $piece, $context ) { // Check if this part of the Yoast graph contains comments if ( is_array( $piece ) && isset( $piece['comment'] ) && is_array( $piece['comment'] ) ) { foreach ( $piece['comment'] as &$comment ) { if ( isset( $comment['author'] ) && empty( $comment['author']['url'] ) ) { // Generate a fallback URL for the author to clear GSC warning $comment['author']['url'] = home_url( '/#author' ); } } } return $piece; }
Registration Opens: Join the 2026 BECE Home Mock to Secure Grade 1s JOIN NOW ×

Register For This Education Event: Quality for relevant higher tertiary education (HTE) transformation

As part of an effort to improve the quality of education at the tertiary level, participants are invited to register to participate in quality discussions to help liberate tertiary education in Africa through provoking quality assurance discussions

One of the leaders championing the strategic transformation of Tertiary education in Africa through Quality Assurance is DR VIOLET MAKUKU who has dedicated her life and career to improving African Higher Education through Quality Assurance & Accreditation Activities

The event is scheduled for 25th January 2023. The event is dubbed QUALITY AS RELEVANT HIGHER & TERTIARY EDUCATION (HTE) FOR TRANSFORMATION.

The online event will discuss relevant topics and issues that confront education today to find lasting and result-oriented practical solutions that will stand the test of time.

Registration Open

2026 BECE HOME MOCK

Professional Assessment from the Comfort of Your Home

Prepare your ward for the 2026 BECE with our specialized Home Mock series. Our marking and grading follow strict WAEC standards to ensure your child is ready for the real deal.

Standard Questions based on the NACCA Curriculum.
Detailed Marking with examiner comments.
Result Analysis to identify weak areas.

Secure Your Child's Future Today!

WhatsApp Register Call For Info
Interested stakeholders are to fill out the attached sensing form to help the organizers your expectations towards the workshop mentioned above to be held on Wednesday the 25th of January 2023.
The following are some of the topics to be covered:
1) Quality indicators

2) Building the Quality Culture through – Robust Quality Management Systems
3) The Right Time to Design New Curricula & Review the Old Curricula: What should be considered?

4)  What should quality assurance take care of in order to re-mould these institutions of higher learning?
REGISTER HERE [FORM]

 
VENUE: ZOOM PLATFORM
DATE: WEDNESDAY 25TH JANUARY  2023
13:30 GMT (Opening of the Platform)
14: 00-15: 30 GMT (Ghana Time) Starting
15:00-16:30 Nigeria Time
16: 00-17:30 Southern Africa Time
17:00-18:30 East African Time
Kindly google to find your time zone against the GMT+0 time given

Ghana Education News Editorial Team

Research • Journalism • Policy Analysis

The Ghana Education News Editorial Team is a specialized group of education researchers, journalists, and policy analysts dedicated to providing high-fidelity reports on the Ghanaian academic landscape. With over a decade of combined experience, our team serves as a primary bridge between official bodies like the GES and WAEC and the students, parents, and educators they serve.

Our Expertise & Mission

  • National Examination Prep: Verified BECE/WASSCE trial questions and examiner reports.
  • Policy Analysis: Breakdowns of GES recruitment, promotions, and payroll.
  • Educational Resources: Step-by-step guides for university admissions and scholarships.

Have a story or want to advertise?

WhatsApp Us Email Stories

WhatsApp: 0550360658 | Email: stories@ghanaeducation.org

Leave a Comment

Ghana Education News