royaltea1
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Illustratr] Adding text to footerHi Sacredpath, this was incredibly helpful, thank you!
Forum: Plugins
In reply to: [Amazon Link] How to use localisation feature with custom imageHi Paul,
I enabled localisation and created a new template on the templates page called ‘action button’. In the template content box I inputted:
%LINK_OPEN%<img src=”http://worldofteainfusers.com/wp-content/uploads/2015/07/button.png”>%LINK_CLOSE%
In my post I then inserted the shortcode:
[amazon asin=B001Q3L9PA&template=action button]
When I view my page I only see a text link ‘Amazon’ and not the button (the button I currently have there is just the US Amazon url).
I’m not sure what I’m missing. The link to the page I’m trying this on is Tea Infuser Mug
Hi Kathryn,
Thank you so much for all of your help! I copied the code and my theme is now displaying properly 🙂 I was also able to add the manual excerpt function and tighten the line spacing as well.
In the manual excerpt box I added a line of html to add a “read more” link at the end of my content. Do you know if this is the best way to display a read more link? Can I use html (it helps keeps things simple) or does a function need to be added to my functions file?
One final question – if I add any css changes going forward, is it better to enter the css code into the ‘edit css’ on my dashboard or is it better to add the code to my style.css sheet? (or does it not matter?)
Thanks again for all of your help! I really appreciate it!!
After my last post I realized I should post my style.css sheet and noticed it was empty when I went to copy the code. I must have not saved it from the last time I was working on it.
So I went back and entered the following in my style.css sheet
/*
Theme Name: Illustratr Child
Theme URI: http://example.com/illustratr-child/
Description: Illustratr Child Theme
Author: John Doe
Author URI: http://example.com
Template: illustratr
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: illustratr-child
*/I was then able to activate the Illustratr child theme which I was super happy about but when I view my page now it just appears as plain text and no css. I’m not sure what I’m missing? I used the sample codex and changed the wording to say the illustratr theme.
I have kept the functions.php file as is from what I copied from your earlier post and haven’t made any changes.
Hi Kathryn,
I tried using the code you provided but I’m still receiving a ‘template missing’ error on my dashboard. I’m not sure what else I need to add or what pieces I’m suppose to replace? Could it possibly have something to do with the beginning of my style.css sheet?
I tried doing a search as well but can’t find anything helpful with where I am currently stuck.
I appreciate all your help so far! 🙂
I’m trying to create a child theme and I’m having trouble with the functions.php file. I used the code from the codex link attached but I’m not sure if I’m missing something:
<?php
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );}
On my themes page on my dashboard I also see a ‘broken theme, template is missing error’. Am I inserting the correct code for the functions.php file?
Forum: Fixing WordPress
In reply to: Need help with excerpt text using Illustratr themeBumping this up in hopes someone can help.