aneesahmadweb@gmail.com     03040836207

    Add Accordion Drop down Button

    https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_accordion_symbol

    https://www.jqueryscript.net

    Add Read More button

    https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_read_more

    Get current url

    A great soucrce for code

    https://www.wikicoode.com/magento2

    To get Base url in mgento 2

    <?php $block->getBaseUrl();?

    Get Media Url

    $objectManager = \Magento\Framework\App\ObjectManager::getInstance();
    echo $objectManager->get('Magento\Store\Model\StoreManagerInterface')
                        ->getStore()
                        ->getBaseUrl(\Magento\Framework\UrlInterface::URL_TYPE_MEDIA);

    About Author

    You may also like

    No Comment

    You can post first response comment.

    Leave A Comment

    Please enter your name. Please enter an valid email address. Please enter a message.