Forum Replies Created
-
AuthorPosts
-
That’s what site auth is
Thanks :)
Hi, yes clearly orienting to portrait is something that can only be seen on actual ipad itself.
The layerslider code disappears from the front end, so is not displayed.
oops my bad, that was cut and paste from a previous message. It should be the homepage /
I managed to get it working with a shortcode and some hacking of the css, but was wondering why the enfold advanced layerslider module stopped working, since it more convenient to useAugust 24, 2015 at 1:34 pm in reply to: Customising Blog appearance, blog and post pages should be consistent #492170I was able to fix this with:
<?php if ( is_category( $category ) || is_page( ‘Blog’ ) ) { ?>
<div class=”stretch_full container_wrap alternate_color light_bg_color title_container”>
<div class=”container”>
<h1 class=”main-title entry-title”>
blog
</h1>
</div>
</div>in header.php, and:
// Blog header
add_filter(‘avf_title_args’, ‘fix_single_post_title’, 10, 2);
function fix_single_post_title($args,$id)
{
if ( $args[‘title’] == ‘News’ );
{
$args[‘title’] = ‘blog’;
$args[‘heading’] = ‘h1’;
}return $args;
}in functions.php
August 20, 2015 at 5:19 pm in reply to: Customising Blog appearance, blog and post pages should be consistent #490928If someone could post a bit of code that will also show the title on category pages that would so awesome!
Thanks :)
- This reply was modified 9 years, 3 months ago by edcubitt.
August 18, 2015 at 6:03 pm in reply to: Customising Blog appearance, blog and post pages should be consistent #489648That’s a slightly different outcome.
How do I add categories to the above code?August 18, 2015 at 11:38 am in reply to: Customising Blog appearance, blog and post pages should be consistent #489402Thank you!
I didnt want the post title, so I changed to:
add_filter(‘avf_title_args’, ‘fix_single_post_title’, 10, 2);
function fix_single_post_title($args,$id)
{
if ( $args[‘title’] == ‘News’ )
{
// $args[‘title’] = get_the_title($id);
// $args[‘link’] = get_permalink($id);
// $args[‘heading’] = ‘h1’;
$args[‘title’] = ‘Blog’;
$args[‘heading’] = ‘h1’;
}return $args;
}Now I also need to show the header on the category pages
August 17, 2015 at 12:08 pm in reply to: Customising Blog appearance, blog and post pages should be consistent #488818Ok, I think what I maybe need to do here is add some php in header.php?
The options within wp and enfold don’t seem to allow a custom header on all blog pages, and the title/breadcrumbs isnt doing it either! I dont see how a translation plugin would help here?
Unfortunately I dont know php. Could you suggest a couple of lines of code that would achieve this?
August 14, 2015 at 12:30 pm in reply to: Customising Blog appearance, blog and post pages should be consistent #487717Could I get a response please?
This is really quite confusing!On the link attached where is the header ‘News’ being generated from?
I have set the title and breadcrumb option, but cant figure out where ‘News’ is coming from.
I would like that to say ‘Blog’.
Also, the flyout menu saying ‘Hello world’ on the left. Where is that set?
I can easily hide in CSS but would like to know where it is being set!Thanks :)
August 13, 2015 at 11:56 am in reply to: Customising Blog appearance, blog and post pages should be consistent #487118Ok I have tried the Magazine module.
There is an option for a title with link, but again that does not also appear on the blog post page.
Also, with magazine selected, all categories and 5 posts it shows only 1 post and no excerpt.August 13, 2015 at 11:31 am in reply to: Customising Blog appearance, blog and post pages should be consistent #487092Thanks, that is a separate issue, creating a larger first blog post at the top.
I will look into that.
What about the blog title area?
I am a front end developer, but not so experienced with php :)August 12, 2015 at 1:32 pm in reply to: Customising Blog appearance, blog and post pages should be consistent #486520Ok, so it should look like the images attached.
What I need:
Same title area on both pages
Add an infinite scroller at the bottom
(blog search is optional)August 11, 2015 at 12:59 pm in reply to: Customising Blog appearance, blog and post pages should be consistent #485906Advanced Layout Builder? Yes, now on the main blog page you should be able to see that I am using the blog posts module.
Ok, so I can target page ids, that is a solution :)
How about controlling the header section on both blog landing page and blog posts?
I would like it to be the same as the main blog page on a post- This reply was modified 9 years, 3 months ago by edcubitt.
August 10, 2015 at 4:18 pm in reply to: Customising Blog appearance, blog and post pages should be consistent #485426As an update, I have had to switch off setting the blog page in Enfold settings to get excerpts with a read more link to work (on my local version that is).
If I do this there is no class no the main element top hook onto. I need to set the width of main and aside here.
Is it possible to add a page class?- This reply was modified 9 years, 3 months ago by edcubitt.
August 10, 2015 at 11:09 am in reply to: Customising Blog appearance, blog and post pages should be consistent #485155My mistake, it’s working now
August 7, 2015 at 10:52 am in reply to: Customising Blog appearance, blog and post pages should be consistent #484402Thanks :)
August 6, 2015 at 6:02 pm in reply to: Customising Blog appearance, blog and post pages should be consistent #484073To be clear I have tried setting both page and post with sidebars in Layout, but the title and breadcrumb does not appear on blog page, even when set. I would also have to rewrite the title using CSS to get the display I want, which is not optimal for SEO!
-
AuthorPosts