terryrook
Forum Replies Created
-
Forum: Plugins
In reply to: [Tumblr Crosspostr] External image in TumblrThanks for responding Meitar
I now understand the external image link is a Tumblr issue and nothing to do with your great plugin so I will mark this topic as closed.
This probably isn’t the best forum to discuss personal opinions but your statement deserves a response. Personally I’m not religious but I do try and respect other peoples faiths.
Thank you for your concern about colonialism in Africa.
As you will see from their website, the founder, who was brought up in Sierra Leone, shares your concerns.From the home page:
“Africa has had a bad deal, slave trade, colonisation, caught between the cold war and blatant racism in high places. Yet Africans are strong, intelligent and overcomers despite the hand they have been dealt.”The organisation help some of the poorest people in the world deal with economic and health issues. Providing health care for people with Ebola and aids and giving start up money to small business. It’s about Africans helping Africans.
Oh and thanks for amending your original post.
Forum: Plugins
In reply to: [Tumblr Crosspostr] External image in TumblrThanks Meitar
The website is: https://www.ahic.org.uk/blog/
I’ve just been asked to help out with this site, I didn’t build it so I don’t know much about the template.
The test posts I created have been deleted but I can easily add another to show the issue.
Thanks again
TerryOK I’ve found a solution so just I thought it might be good to share.
In a child theme of Twenty Fifteen copy and change the header.php file and the content-page.php file.
header.php file – Change this code:
<?php if ( is_front_page() && is_home() ) : ?>
To this code:
<?php if ( is_front_page() ) : ?>
That gives the site-title a h1 tag only on the home page
content-page.php – Change this code:
<header class="entry-header"> <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> </header><!-- .entry-header -->
To this code:
<!-- Page title H1 on home H2 elsewhere--> <?php if ( is_front_page() ) : ?> <header class="entry-header"> <?php the_title( '<h2 class="entry-title">', '</h2>' ); ?> </header><!-- .entry-header --> <?php else : ?> <header class="entry-header"> <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> </header><!-- .entry-header --> <?php endif; ?> <!-- End Page title H1 on home H2 elsewhere-->
That gives the page titles a h2 tag on the home page and a h1 tag elsewhere.
Forum: Fixing WordPress
In reply to: How do I get bullets in my widgetRvRijn I have just noticed my 2 links have been removed from the post, so here they are:
The plugin is Firebug which is installed into the browser Firefox.
FirebugHere is the documentation on child themes, which is the best way to edit a template:
Codex child themesForum: Fixing WordPress
In reply to: How do I get bullets in my widgetThe code you put into the widget would be something like this:
<ul> <li>line 01</li> <li>line 02</li> <li>line 03</li> </ul>
Forum: Fixing WordPress
In reply to: How do I get bullets in my widgetThis is a really good way to learn CSS.
Use this plugin for Firefox to help you understand css:
Once installed into Firefox. Inspect the code in the front end of your website by placing the cursor on the line of text in the widget, right clicking and press inspect element with firebug. Then once the firebug window opens point at the code
<ul>
On the right window you will see the css for that code. something like:.widget ul, .widget ol { list-style-type: none; margin: 0; padding: 0; }
You need to change this to something like:
.widget ul, .widget ol { list-style-type: disc; margin: 0; padding: 0; }
To do this you need to create a child theme and change your style sheet accordingly. See:
Feel free to get back to me.
Good luck!
Forum: Plugins
In reply to: Add table plugin to editorFound a solution if anyone has the same issue. When using MCE Table Buttons insert the table and dont stretch it, then it doesnt add a width to the table!
Forum: Fixing WordPress
In reply to: Image alignleftI found this fix thanks to Suzanne Ahjira:
Add this to the functions page. Then images are wrapped in a div not a paragraph:
//Wraps images in div not a paragraph function filter_ptags_on_images($content) { return preg_replace('/<p[^>]*>\\s*?(<a .*?><img.*?><\\/a>|<img.*?>)?\\s*<\/p>/', '<div class="image">$1</div>', $content); } add_filter('the_content', 'filter_ptags_on_images'); //End of Wraps images in div not a paragraph
Thanks Tara but its not that simple as the issue is very intermittent. I guess its not really a problem unless I get permanently locked out!
Thanks Tara I will do but my gut says its a WP thing as it started to happen after I installed version 3.8.1
I am running APC Object Cache Backend, maybe that causes an issue?
Ta
TerryThanks will give it ago
Thanks again Andrew. Do I need the add_action as well? I copied this from a twenty twelve child theme. I dont know what the number at the end of the add_action refers to?
function mytheme_dequeue_styles() { wp_dequeue_style( 'twentythirteen-ie' ); } add_action( 'wp_enqueue_scripts', 'mytheme_dequeue_styles', 11 );
Forum: Fixing WordPress
In reply to: Adding ie style sheet into child theme twenty thirteenhave done thanks Andrew
Forum: Fixing WordPress
In reply to: Testing in IE8Ah link worked this time great ??
Forum: Fixing WordPress
In reply to: Testing in IE8I did that and it removes the link when its posted. Will try again:
Twenty thirteen. Basically the ie.css in the child does not over write the ie.css in the parent. I managed to do this with twenty twelve by editing the childs functions.php file