mtpultz
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Activation of Plugin generated 338 characters of unexpected output?Thanks Adiant, I’ll stub through my code and see if I can figure out where it is happening.
Thanks for the reply
Forum: Fixing WordPress
In reply to: Plugin Not Showing Any Admin Panel Menu or Page?Sorry had no idea that wasn’t proper here’s my code using pastebin.
Thanks
Hi Mat, thanks for the help that works great!!! I really appreciate the help ??
Cheers
Thanks for the reply Mat, I tried the above but it still comes out after the more link I copied and pasted the page text below.
“Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent viverra lorem ut leo bibendum mattis egestas quam mollis. Donec at lacus sem. Sed fermentum cursus tellus sit amet bibendum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Phasellus ultrices ipsum sed quam viverra sit amet ornare metus ornare. Integer eu erat sit amet justo tristique ultrices. Morbi tristique, nisl ut dignissim congue, est velit blandit tellus, at rhoncus felis velit iaculis nisi.
Continue reading
my custom text”
I did notice that I can before setting define( ‘NO_HEADER_TEXT’, true ); in my functions.php that if I set the text header not to show up that that persists after uncommenting define( ‘NO_HEADER_TEXT’, true ); Sooo I sort of solved that. Guess if I look in the DB I could set it to “no” and then it wouldn’t show up on reuse of the child theme. Does that sound like a reasonable solution?
Thanks, that’s awesome. Where did you look to find that information? Removing that doesn’t remove it from the preview, Is that possible too? I did remove the text from the site by altering header.php and I can see where the text is added to the preview in custom-header.php but not anyway to stop it from showing up.
Thanks again for that
Forum: Themes and Templates
In reply to: Overriding twentyeleven theme-options.phpI was trying to do the same thing and I found this solution just drop it in functions.php.
<br /> /**<br /> * Cleanup parent theme options, widgets and custom header defaults<br /> */<br /> add_action( 'after_setup_theme', 'ask_twentyeleven_cleanup', 11 );</p> <p>ask_twentyeleven_cleanup() {<br /> // Remove support for theme options<br /> remove_action( 'admin_menu', 'twentyeleven_theme_options_add_page' );<br /> }<br />
I ended up stripping down the theme quite a bit as more of a learning experience. Figured out how to remove custom background, unregister sidebars, widgets (like Ephemera). After reading this I’ve decided to do away with the child theme concept and instead try building a theme using what I’ve learned from Twenty Eleven. Pick and choice what I want instead of hacking and slashing what I don’t. Especially since I can’t figure out how to remove Display Text and Text Color from the options on the admin Header page.
Maybe too late but hope this snippet helps someone. Cheers
never mind figure it out, I was wrapping the add_filter and placing it in an action when all I had to do was drop it into my function.php as is for it to fill in the width and height in the parent theme.