ieduff
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [puddle] How to edit Footer Text on websiteI tried php….didn’t work, I couldn’t find where to place (<?php before )
This did not work #ft address{
display:none;
}
And I changed to Version: 1.217 …I have changed footer text before..but just can’t seem to do it here.
Forum: Themes and Templates
In reply to: [puddle] How to edit Footer Text on websiteI really have no clue what I’m doing…what have i done???!!!! I restored the puddle theme back …. not exactly sure where to place php
Forum: Themes and Templates
In reply to: [puddle] How to edit Footer Text on websiteThese are the lines before * HEADER IMAGE
<?php<?php
add_filter( ‘raindrops_footer_text’, ‘function_name’ );function function_name( $return_value ) {
$return_value = ”;
$html_before = ‘<p style=”text-align:center”>hello world</p>’;
$html_after = ‘<p style=”text-align:center;color:red;”>’. get_bloginfo(). ‘</p>’;return $html_before . $return_value . $html_after;
}
?>
/**
* functions and constants for puddle theme
*
*
* @package puddle
* @since puddle 0.1
*/
if ( ! defined( ‘ABSPATH’ ) ) {
exit;
}
include_once( get_stylesheet_directory().DIRECTORY_SEPARATOR . ‘inc.php’ );
/**
* This theme base font size 16px
* Need change base font size functions.php
*
*
*/
add_filter( ‘raindrops_base_font_size’, ‘puddle_base_font_size’ );function puddle_base_font_size( $content ){
return 16;
}/* Setting Example
*
$raindrops_fluid_maximum_width = 800;
*/Forum: Themes and Templates
In reply to: [puddle] How to edit Footer Text on websitethink i did it wrong or deleted something “Parse error: syntax error, unexpected ‘?’ in /home/a1lawnca/public_html/pocolashextensions.com/wp-content/themes/puddle/functions.php on line 1:
This is what it looks like:
<?php
/*
<?php
add_filter( ‘raindrops_footer_text’, ‘function_name’ );function function_name( $return_value ) {
$return_value = ”;
$html_before = ‘<p style=”text-align:center”>hello world</p>’;
$html_after = ‘<p style=”text-align:center;color:red;”>’. get_bloginfo(). ‘</p>’;return $html_before . $return_value . $html_after;
}
?>