PHP in WordPress Text Widget
Allow PHP in WordPress Text Widget. No plugin, functions file solution. Add the following code to functions.php in child theme folder: Source: PHP Text Widget — Allow PHP In WordPress Text Widget – Binary Turf
Allow PHP in WordPress Text Widget. No plugin, functions file solution. Add the following code to functions.php in child theme folder: Source: PHP Text Widget — Allow PHP In WordPress Text Widget – Binary Turf
Goal: Have a graphic in PageLines Branding section and have it aligned with the bottom of the site logo, as well as aligned flush-right. PageLines Framework v2.1.3 WordPress v 3.3.1 1. Turn off RSS/social media icons: WP admin -> PageLines -> Settings -> Header And Footer -> UNtick “Display the Blog RSS icon and link?”…
Goal: Rotating images, in WP Twenty Eleven’s child theme header, that are also “responsive” (they shrink to different device sizes): WP Rotator plugin (to add rotating images) Flex Slider for WP Rotator plugin (to make the rotating images “responsive”) – Turns WP Rotator into a fully “responsive” jQuery slider – MUST have WP Rotator installed…
Goal: Add Featured Image to PlatformPro theme to use The Cart Press: List products in your home page in grid format WordPress: v3.2.1 Parent theme: PlatformPro, v1.5.2 Child Theme: PlatformBase, v1.4.1 Shopping Cart: The Cart Press, v1.1.3 File: root > wp-content > themes > platformbase > functions.php Add to the end of the file: //…
WordPress theme: Bunch Desired result: Have a Featured Image at the top of every inside Page. This will show how to add the Featured Image code to inside Pages, without ruining the other inside Pages that don’t have a Featured Image on them. Alter the following files: style.css, page.php and functions.php. 1. CSS FILE File:…
WordPress version: 3.1.3 Parent theme: TwentyTen 1.2 Add a horizontal footer menu to child theme (since Twenty Ten parent theme doesn’t have it as a default). Instructions from: Digging into WordPress – Using Menus in WordPress 3.0 In addition to the above instructions, add CSS and array controls from the main menu: File: footer.php (in…
Overview: We want an extra-wide custom sidebar just for the Home page. We also want the custom sidebar to have its own Widgets. We’ll create a Home page template, register new Widgets and add some new CSS for styling. Big thanks to DigitalRaindrops.net for their tutorials. Section 1 of 4: Template for the Home page Copy…
WordPress Child Theme Case Study: 2020 Euro Lens Bath Create a Child Theme (style.css and functions.php files) In the functions.php file, add:
Error message: Warning: Cannot modify header information – headers already sent by (output started at /home/content/25/7659925/html/wp-content/themes/corporattica/functions.php:147) in /home/content/25/7659925/html/wp-includes/pluggable.php on line 897 Solution: Remove ALL empty lines/white spaces in the functions.php. This worked for me when using the WordPress Corporattica theme Removed single white space that was in front of <php? on line 147 (IE: I…