February 14, 2014 at 5:25 AM #1438
I’m trying to customize the page template for StartupWP. I’m using the free version. I’ve attempted to edit the template-sidebar-left-right.php file. All I’m wanting to do is remove the title from it. For some reason whenever I make any modification to the php file, even if it’s just editing the title of the template in the commented section at the top, it messes it up. I’ve tried copying all the code from the original template-sidebar-left-right.php file and pasting it in to the new file. Then editing only the page template commented title at the top. Not editing any PHP code. It still messes up. I’ve created page templates before and modified php code before. Is there something I’m missing?
I’m using the latest version of the StartupWP free template (1.1.8), and WordPress 3.8.1.February 14, 2014 at 4:07 PM #1440
Do you want to remove titles from all pages, just that template, or from one specific page that happens to be setup with that template? Assuming the latter, can we get the link to that page?
Also, before continuing your project, you may wish to know that the newest version of Startup is actually found here:
Upgrading should be done with caution and is completely optional.February 14, 2014 at 7:24 PM #1441
Not sure what the main differences are as I haven’t had the time yet to compare them, but I purchased the Pro version. After all, I really like the template and it does what I need it to do, look wise. In the wpstartup Pro, I edited the same file as from the regular version, template-sidebar-left-right.php. I deleted out of the template the same code I had deleted in the wpstartup free version:
<h1 class="entry-title"><?php the_title(); ?></h1>
When I deleted that out of the wpstartup Pro template file, edited the template name at the top, and saved it as a new template it all worked just as it should have. So I’m wondering if there’s something different in the template-sidebar-left-right.php of the free version that causes it to mess up when you delete that same code I deleted in the pro version. Basically, instead of it being a three-column look the left sidebar seems to no longer be there even though the content of the left sidebar stays there. Almost like it merges the left sidebar and the body/content together in to one column.
In any case, it’s working. I’m happy. :DFebruary 14, 2014 at 8:48 PM #1444
One possibility, make sure that you’re editing template-sidebar-left-right.php and not template-sidebar-left-right-post.php.
Another possible issue, make sure now that you’re using StartupPro, that you’re child theme has the correct theme slug:
You must be logged in to reply to this topic.