LucyWilkinson
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to Update TaglineThe php files are not writable. If I’ve needed to make any changes to the header I’ve always contacted my host provider in the past. Presumably the php files are not writable to protect me from breaking the theme.
Having said the above the tagline in not located in the header.php anyway. See below:
<div id="header"> <header> <div class="logo"> <?php if ($theme->get_option('themater_logo_source') == 'image') { ?> <a href="<?php echo home_url(); ?>"><img src="<?php $theme->option('logo'); ?>" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" /></a> <?php } else { ?> <?php if($theme->display('site_title')) { ?> <h1 class="site_title"><a href="<?php echo home_url(); ?>"><?php $theme->option('site_title'); ?></a></h1> <?php } ?> <?php if($theme->display('site_description')) { ?> <h2 class="site_description"><?php $theme->option('site_description'); ?></h2> <?php } ?> <?php } ?> </div><!-- .logo --> <div class="header-right"> <nav> <?php if($theme->display('menu_primary')) { $theme->hook('menu_primary'); } ?> </nav> </div><!-- .header-right --> </header> </div><!-- #header -->Forum: Fixing WordPress
In reply to: How to Update TaglineSo do you think my hosting provider could amend for me?
Forum: Everything else WordPress
In reply to: Is it OK to publish 100 optimized pages at the same time?Fair enough. Thanks for your response 🙂
Forum: Everything else WordPress
In reply to: Is it OK to publish 100 optimized pages at the same time?Crikey Andrew! I didn’t think I was using naughty SEO techniques! I actually believe I’m creating great content that my customers will find very helpful! There’s not much point in creating great content for my customers if they can’t find me.
I have a lot of hire products and I’m simply creating pages for my customers with relevant information on each product.
As I said above if it was a new website I wouldn’t be concerned. However, my website is not new. It’s just taking me a long time to build the pages. As I have an embedded hire page it has given me the breathing space to create pages that my customers will enjoy. The categories are linked together so it’s not possible to launch a few at a time. Anyway, it wouldn’t be helpful to my customers if only some of my products were listed.
I’ve read about people making rookie mistakes unintentionally and being blacklisted by Google.
I didn’t realise it was naughty to want to optimize my pages? Is it naughty to use my Yoast SEO plugin?
I simply wanted to know if it was bad form to release a lot of pages at once. I’m not trying to find out a way not to get caught. I’m actually asking if I’m doing anything wrong unintentionally.
I’m actually quite offended by your response!
Forum: Fixing WordPress
In reply to: Edit header.php in order to Enable BreadcrumbsThanks for responding cnc137. I already have UpdrafPlus Plugin. Just the free version.
Your advice seems straight forward enough. I will take a closer look when I’m not distracted by anything else.
Though I am still tempted to just get my host to put the breadcrumb code on the header.php. It’s not like I want to get into these files on a regular basis so maybe I shouldn’t risk stuffing it up.
On the other hand I am finding that the more I learn about all this the more involved I want to be. It frustrates the hell out of me when I can’t do something and having to pay someone else for something I know is probably quite simple!
I think I need to enroll on a web development course! Lol!
If I decide to tackle it I’ll let you know how I get on.
Forum: Themes and Templates
In reply to: Coding advice for Custom Page TemplateThanks for your help WPyogi. I’ve looked at the link you provided for child themes. I think I’m out of my depth so have decided to pay someone.
A local company has quoted 2.75 hours work to create custom template for the home page. If I want custom templates for the other pages it will be another 1.5 hours work as they say they will need to ‘stretch’ content for each page. Does this sound right to you? I don’t mind paying but I thought the point of a custom page template was to be able to use it on any page? I’m not sure I’m allowed to ask this as I know it’s not OK to look for business on this forum. This is not a commercial dispute. I would just like to know what is involved so I can make an informed decision. I’m using Canode theme.
Thanks
Forum: Themes and Templates
In reply to: Coding advice for Custom Page TemplateThank you WPyogi.
I will look into this. Have to go out now. Thanks for your help thus far.
Cheers
Forum: Themes and Templates
In reply to: Coding advice for Custom Page TemplateI was going to download filezilla. Log on to FTP. Transfer the page.php and style.css file to my computer. Then create a new file called page-customright.php. Save this file and put the template name at the top. Then copy and paste code from page.php and modify it to only the side bar on the left. The video I have been using for help is for removing one side bar with none remaining. Therefore I don’t know what I need to enter to keep the left sidebar.
My understanding to stretch the content is that I also need to change
<div id="content">' to '<div id="content" class="customright">I think I then need to modify the style.css file to add an entry for the css class called customright in the page-customright.php file. I’m not sure what code I need to enter here? The video tutorial I have been referring to suggests the following
.customright {width 100%;}Do I still enter 100% or is this different if I still have the left sidebar?
The final step was to transfer the page-customright.php file and amended style.css file to the host.
Not mentioned in the video is whether to transfer back the original page.php file? I would have thought this would be necessary as it’s still required for pages requiring both sidebars.
Apologies if I’m going totally down the wrong track! Also apologies if any of the ‘backsticks’ above haven’t worked.
Cheers
Forum: Themes and Templates
In reply to: Coding advice for Custom Page TemplateThank you for replying
OK. I think I need to do some more research on what child themes are. I’ve read a bit about them but not fully grasped it. I haven’t changed anything yet. I want to be clear that I know exactly what to do first.
I might ask for more help when I can ask some intelligent questions!
Sorry about the post above re the code. I managed to work out the
backsticksfor the post above that one. Putting in the samebacksticksdidn’t seem to work the second time round? Don’t what I did wrong?I found this video
The video didn’t mention child themes but did suggest backing up the website.
Forum: Themes and Templates
In reply to: Coding advice for Custom Page TemplateYay! I think I understand backsticks!
So here’s the rest of my question…
Once I’ve got rid of the side bar do I need to alter the code in the style.css or custom css?
What code do I need to write to stretch the content over the space left empty by the removed sidebar?
I will be calling my custom page template CustomRight. Would it be correct to enter the following code
.customright {width: 100%;}Thanks
Forum: Themes and Templates
In reply to: Coding advice for Custom Page TemplateI don’t understand what ‘backsticks’ are? Even after reading about it?
So I’m going to guess:
I have two sidebars and only want to get rid of the right one on the home page.
My page.php includes the following:
<?php get_sidebars(); ?> <?php $theme->hook('main_after'); ?> </div><!-- #main --> <?php get_footer(); ?>I have copied this for my new template. How do I alter this to remove the right sidebar?