Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jalandhar04/rank-math-faq-accordion

Vanilla javascript that change the rank math faq blck into accordion.
https://github.com/jalandhar04/rank-math-faq-accordion

faq-accordion rankmath wordpress wordpress-plugin

Last synced: 27 days ago
JSON representation

Vanilla javascript that change the rank math faq blck into accordion.

Awesome Lists containing this project

README

        

# Rank-Math-FAQ-Accordion
This repo contains CSS, and JavaScript code to change the Rankmath FAQs block into accordion.

## Demo

- Before
![image](https://github.com/user-attachments/assets/133b9aa9-e2f9-4e96-8562-b35a636c90ef)

- After
![image](https://github.com/user-attachments/assets/0b06c048-033b-4e9c-a526-27e8ac94cebc)

![Screen-Recording-2024-08-11-214430](https://github.com/user-attachments/assets/7a64825b-49fa-4951-8d61-9b0832313647)

## Installation

To add it in your WordPress website, follow these steps:

1. Copy javascript & paste it in your theme's function.php file. (!Important Tips: Aalways use child theme for custom scripts). If you are not a technical person, you can simply use plugins like WP Code or Code Snippets to do the same.
2. Copy CSS & paste it in additional CSS field of your theme.
3. Done! Refresh the page & look at the FAQs section.

## Author

- [Jalandhar Paswan](https://jalandharpaswan.com/)

## Repository

- GitHub: [https://github.com/jalandhar04/Rank-Math-FAQ-Accordion.git](https://github.com/jalandhar04/Rank-Math-FAQ-Accordion.git)