danielle_r
Forum Replies Created
-
Forum: Themes and Templates
In reply to: customising a numbered galleryThanks esmi,
My child theme is called accessible-onetwo. It doesn’t have a functions.php but I’ve created one for also some other purpose. In this file I’ve tried to create a function called setup(): nothing happens
accessible-onetwo_setup() error for the – sign.
twentytwelve_setup() error function is already declared
accessible_onetwo_setup(): nothing happensDo you have any suggestions on how to make this work? Thanks, d
Forum: Themes and Templates
In reply to: customising a numbered galleryI’ve tried:
.gallery .gallery-icon img { border: 0 none; height: auto; max-width: 100%; padding: 5%; }
But this gets overruled by:
#gallery-1 img { border: 2px solid #CFCFCF; }
And I want to get rid of the borders…
Forum: Themes and Templates
In reply to: customising a numbered galleryOK, sorry about that. This is an example page demonstrating the problem: https://annemariemaes.net/projects/another-project/
Forum: Themes and Templates
In reply to: disable google fontFYI, I’ve found the solution from this site: https://wordpress.stackexchange.com/questions/66524/remove-open-sans-from-twenty-twelve-theme
I’ve made a new functions.php to put in the child theme. Then I copied this piece of code there:<?php function mytheme_dequeue_fonts() { wp_dequeue_style( 'twentytwelve-fonts' ); } add_action( 'wp_enqueue_scripts', 'mytheme_dequeue_fonts', 11 ); ?>
Don’t ask me what it means but it works ??
Hope this helps someone, best, d
Forum: Plugins
In reply to: [Tag Pages] displaying the tagsThanks Bjorn,
I’d figured that out. I can now display tags in content-page.php using the_tags(). Do you know if there’s a way to display tags at an arbitrary place inside the content?
Thanks in advance, best, d
Forum: Themes and Templates
In reply to: [Accessible OneTwo] featured image shows in pagesAiai, I’m testing now with adding a featured image. I now include the image in the page and later selected it as the featured image. I still puts the image right at the top of the page. One can still add the image to the article so perhaps I should consider removing the code from the child theme’s template.
Strange, this automatic adding to the top of the page wasn’t the case in previous version of the standard WP theme…?
I’m open to any other suggestions. Tnx, d
Forum: Plugins
In reply to: [Page-list] can't order by sort_columnOK, I’ve found the solution. I thought menu_order was to do with the way pages are arranged in the main menu. But it refers to “order” which you can set on the page. This is too much of a hassle for my client, she wants automatic listing by date.
I now use: [pagelist_ext child_of=”8″ sort_column=”post_date” sort_order=”desc”] I realised that you could use sort_order on any of the column fields. So now I’ve got a nice list showing the most recently added page first. Sorted ??Best, d
Forum: Themes and Templates
In reply to: [Accessible OneTwo] featured image shows in pagesThanks both of you for your responses, they are very helpful.
You’ve actually made me aware of a problem. In my example I used a picture that wasn’t in the article, only in the uploaded images. Once I selected it as a featured image it suddenly appeared in the article. But you are right, often the client will want to pick an image that is also featured in the article. Is there a way to distinguish between the two cases?
Thanks very much in advance, best, d
Forum: Plugins
In reply to: [HungryFEED] strange problem with cut off url encoded feedThanks Jason, works great now: https://awarenesslab.nl/achtergrond/nieuws/
Except for the single quote in the Facebook feed title: I've ordered my etc. Strangely enough it is displayed OK as text, view below the title. Any ideas on that? Thanks very much for you help, best, dForum: Plugins
In reply to: [HungryFEED] strange problem with cut off url encoded feedYes, Jason, that’s how it should look.
Could you please post the shortcode for that result? Thanks, danielle.Forum: Plugins
In reply to: [HungryFEED] strange problem with cut off url encoded feedHi Jason,
Thanks for your reply. I’ve tried the yahoo pipes (great stuff by the way) and it works nicely for one feed (the facebook feed also had special characters in it.) But I’m afraid the WordPress feed from my blog still is looking the same. This is the pipe URL: https://pipes.yahoo.com/pipes/pipe.info?_id=4287ed761be125a6238494438473e4e4
When I get it as RSS it all looks fine but when I use the RSS together with hungryfeed on my website I get the same problem: &helli cut off.Any suggestions are very welcome, best, d.
Forum: Themes and Templates
In reply to: Styling pages in a certain "category"OK, I had a brainwave, this is the answer:
.parent-pageid-7 #logo, .page-id-7 #logo{
background-color: #FF9933;
}
So you have to repeat both the class and other item. HTH someone. Cheers.Forum: Themes and Templates
In reply to: Styling pages in a certain "category"Hi WPyogi,
Thanks a lot, works like a charm. One more question. If I want to style both .page-id-7 and .parent-pageid-7 the same way is there a way of combining them? I’ve tried .parent-pageid-7, .page-id-7 #logo and .page-id-7, .parent-pageid-7 #logo but always only one works…So can you combine classes or do I have to put everything twice in the css file?
Thanks very much in advance for your help, best, danielle.
Forum: Themes and Templates
In reply to: Styling pages in a certain "category"Hmm, I think I was a bit too optimistic with my styling results. The above code styles the element on _every_ page. I’m trying to work out how to target a specific element in for example page-id-7.
On the page there’s div element called logo. If I want to change properties of the div with the id logo how do I go about it? I’ve tried (among other things):#logo.page-id-7 {
background-color: #000;
}
This is the logo in the css file:
#logo{
width:340px;
height:177px;
background-color:#66CCCC;
text-align:center;
padding:19px 0;
float:left;
}But the background colour doesn’t change. FYI this is the link to the website: https://awarenesslab.nl/inspiratie/
Hope someone can put me on the right track, TIA, danielle.
Forum: Themes and Templates
In reply to: Styling pages in a certain "category"OK, esmi, thanks that pretty powerful!
So you can target the parent by using its page id like this:
.page-id-7 element {/*style*/}
And all the children:
.parent-pageid-7 element {/*style*/}
To target the classes at the same time like this:
.page-id-7 .parent-pageid-7, element {/* style */}I’ll have to dive into the styling a little more but the basics are clear. Thanks again. Best, danielle