This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Add Class to first Paragraph in WordPress the_content(); | |
| * | |
| * @param [type] $content | |
| * @return void | |
| */ | |
| function first_paragraph($content) | |
| { | |
| if (is_page('careers')) { | |
| return preg_replace('/<p([^>]+)?>/', '<p$1 class="text-center">', $content, 1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Move Yoast to the Bottom | |
| * | |
| * @return void | |
| */ | |
| function yoasttobottom() | |
| { | |
| return 'low'; | |
| } | |
| add_filter('wpseo_metabox_prio', 'yoasttobottom'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- phpMyAdmin SQL Dump | |
| -- version 5.0.2 | |
| -- https://www.phpmyadmin.net/ | |
| -- | |
| -- Host: localhost:3306 | |
| -- Generation Time: Apr 25, 2020 at 08:19 PM | |
| -- Server version: 5.7.29-0ubuntu0.18.04.1 | |
| -- PHP Version: 7.3.17-1+ubuntu18.04.1+deb.sury.org+1 | |
| SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
OlderNewer