dstars5
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Shortcode test leads to blank pageScratch that. I had messed with my index.php, and that messed it up. Normal text DOES work. Shortcodes still DO NOT.
Forum: Fixing WordPress
In reply to: Shortcode test leads to blank pageHuh, ok so it turns out it is not just shortcodes. I figured I would start another part of the site that doesn’t need shortcodes, and the page just flat out does not show ANY text, shortcode or not.
Forum: Fixing WordPress
In reply to: Shortcode test leads to blank pageYa I am using it.
Forum: Fixing WordPress
In reply to: Shortcode test leads to blank pageLike on the page?
Forum: Fixing WordPress
In reply to: Shortcode test leads to blank pageI really don’t have a problem with waiting, and I understand that everyone here is a volunteer, but people just keep falling off this thread. I finally get someone who chimes in, then they’re gone, and I’m left waiting.
Probably going to be hard for anyone here to debug a custom theme.
What else do you need? Lapan said there was probably another function blocking it or something, so I posted my functions.php. Could you at least look at that and see if it is in fact a problem with my function.php?
Forum: Fixing WordPress
In reply to: Shortcode test leads to blank pageBump. omg. Is everyone just that busy or am I just being ignored? If someone could just have a somewhat constant convo with me, this would be fixed by now.
Forum: Fixing WordPress
In reply to: Shortcode test leads to blank pageThat guide says that the functions.php should be automatically loaded if it is present. What do I need to do to “activate” it?
Forum: Fixing WordPress
In reply to: Shortcode test leads to blank pageSo does anyone want to help out? Or…?
Forum: Fixing WordPress
In reply to: Shortcode test leads to blank pageHello?
I replaced the entire functions.php of the twentythirteen theme, and it works properly. I did the same with my custom theme, and it does not work:
<?php function test( $atts, $content = null ) { return '<p>TEST TEXT</p>'; } add_shortcode('test', 'test'); ?>
Forum: Fixing WordPress
In reply to: Shortcode test leads to blank pageThis is my entire functions.php. What is causing the problem, then? This is the first theme I have ever made myself, so I really have no idea what is going wrong.
<!--sidebar --> <?php /*if ( function_exists('register_sidebar') ) // Sidebar Widget register_sidebar(array('name'=>'right-Sidebar', 'before_widget' => '<li>', 'after_widget' => '</li>', 'before_title' => '<h3>', 'after_title' => '</h3>', ));*/ function test( $atts, $content = null ) { return '<p>TEST TEXT</p>'; } add_shortcode('test', 'test'); ?>
Forum: Fixing WordPress
In reply to: Shortcode test leads to blank pageIt works on the default theme.
Forum: Fixing WordPress
In reply to: Shortcode test leads to blank pageDoes anyone know what I am doing wrong?
Forum: Fixing WordPress
In reply to: Shortcode test leads to blank pageStill nothing
Forum: Fixing WordPress
In reply to: Shortcode test leads to blank pageIt’s a custom theme. There is nothing to do with shortcodes up to this point.
Forum: Fixing WordPress
In reply to: Shortcode test leads to blank pageWhy change the theme? Everything else works, its just the shortcodes?