Recently i have been working on a new site, I have previously used the D5 business line theme for about 3 other websites. Today this has me stumped. When i go to search for blogs, pages, and articles in the search widget.
I do get the results, However. It will give me a fatal error in the description for every post.
Example: Fatal error: Call to undefined function simplicity_content() in /home/vegas10128/public_html/wp-content/themes/d5-business-line/search.php on line 27
Previously i installed –
Better Search by Ajay D’Souza,
because i wanted to use a search bar on a page, and not on the widget side. Sadly it did not work for me so i removed the plugin.
I also tried replacing the search.php with a fresh one from the d5 business line theme i downloaded.
Any help would be greatly appreciated!
If i need to provide any more info please ask.
Can anybody help tell me exactly which part of the functions.php I need to delete? Here’s the section that I believe needs editing:
// function tied to the excerpt_more filter hook.
function simplify_excerpt_length( $Length ) {
global $simplifyExcerptLength;
if ($simplifyExcerptLength) {
return $simplifyExcerptLength;
} else {
return 50; //default value
} }
add_filter( ‘excerpt_length’, ‘simplify_excerpt_length’, 999 );
function simplify_excerpt_more($more) {
global $post;
return ‘ID) . ‘” class=”read-more”>Read More…‘;
}
add_filter(‘excerpt_more’, ‘simplify_excerpt_more’);
// Content Type Showing
function simplify_content() { the_content(‘<span class=”read-more”>Read More…</span>’); }
function simplify_creditline() { echo ‘<span class=”credit”>| Simplify Theme by: <img src=”‘ . get_template_directory_uri() . ‘/images/d5logofooter.png” /> D5 Creation | Powered by: WordPress</span>’; }
Thank you so much!!! This has been a nightmare for me
]]>Hello,
I have already been able to change the colors of most objects on the theme to match my logo. I’m having difficulty changing the selection fade from orange to my logo’s color (purple) on the three featured images (birds, butterfly, and flowers). How can I manually change the color?
#heading {
font-size: 35px;
margin: 20px 0;
text-align: center;
text-transform: uppercase;
}
#slide-container {
min-width: 950px;
height: 320px;
background: url(“images/sback.png”) repeat scroll 0 0 #2E3036;
padding: 20px 0 0;
}
#slide{
margin: 0 auto;
width: 950px;
height: 300px;
}
michellebrooksauthor.com
The problem I have is when I try to add a url (for a different site) to one of the “read more” buttons on the home page it adds www.mysite.com to the front of the url and I get directed to a “not found” page. For example I want to click the button and have it open up a facebook page. So I add the url www.facebook.com to the button. Buy when I click the button it takes me to mysite.com/www.facebook.com. How do I get it to stop adding the mysite.com to the front of the url?
Im using the Floating Social Media Plugin and I entered my social media url’s correctly (www.twitter.com/me) but it does the same thing. if i click the “check me out on twitter” button it goes to mysite.com/www.twitter.com/me.
]]>