delanthear

Forum Replies Created

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • in reply to: JQuery Migrate depreciation #115394
    delanthear
    Participant

    Thanks!

    in reply to: Featured Icon Blocks not using excerpt? #43931
    delanthear
    Participant

    Very very weird. Just created a new install, added all the same themes and plugins and the option isn’t there. I’ve no idea how I made it appear!

    Never mind. Thanks for adding the ability 😀

    in reply to: Featured Icon Blocks not using excerpt? #43695
    delanthear
    Participant

    Something very odd going on. I’ve don’t have a plugin for it, and I’m using your theme and the override for displaying it needs to be placed in the functions.php file.

    My other blog, using default twenty fifteen theme, and no plugins (as I don’t use excepts at all on that blog) doesn’t display excepts, but it’s there in the screen options drop down to enable!

    in reply to: Featured Icon Blocks not using excerpt? #43667
    delanthear
    Participant

    Ah! It’s hidden by default on pages. You turn it on from the screen options:

    Enabling Screenoptions

    in reply to: Featured Icon Blocks not using excerpt? #43666
    delanthear
    Participant

    Weird. It’s just there: Image from page details showing excerpt box

    Website: www.rockrunrelax.co.uk

    in reply to: Bug in Author pages? #43536
    delanthear
    Participant

    Confirmed fixed in 1.3.0

    in reply to: Featured Icon Blocks not using excerpt? #43535
    delanthear
    Participant

    Just upgraded to Fluida 1.3.0 The new theme doesn’t pull anything for except at all now even though it’s populated on the pages.

    in reply to: Bug in Author pages? #42647
    delanthear
    Participant

    I can see your google analytics tag in your front page fine? Have you fixed it? Or is it a different page that isn’t reporting?

    in reply to: Bug in Author pages? #42615
    delanthear
    Participant

    Ok, the bug is in/below the_archive_title(); which is called in fluida_header_image() in core.php. When the alt tag is populated for an author page, it does something weird!

    I’m overriding with a child theme fix/hack (just not populating the alt tag for the header)

    • This reply was modified 7 years ago by delanthear.
    in reply to: Bug in Author pages? #42613
    delanthear
    Participant

    weird. the html I’m posting is being trimmed by this editor, but you can see the problem stilI.

    in reply to: Landing page without page content? #42604
    delanthear
    Participant

    I’m using a landing page, with the relevant piece of code outputting the page content commented out in a child theme function

    in reply to: Landing page without page content? #42520
    delanthear
    Participant

    This is the bit I’m commenting out:

    function fluida_lpindex() {
    
    	$fluida_landingpage = cryout_get_option ('fluida_landingpage');
    	$fluida_lpposts = cryout_get_option ('fluida_lpposts');
    
    	if ( is_page() ) {
    		// get_template_part( 'content/content', 'page' );     <--------
    	} else {
    
    in reply to: Featured Icon Blocks not using excerpt? #42519
    delanthear
    Participant

    Great 🙂

    in reply to: Landing page without page content? #42518
    delanthear
    Participant

    Does that only work if the front page is a block? I’ve disabled the post list, but the content on the Homepage page still appears. See two images.

    The setting
    The page detail appearing

    Website: www.rockrunrelax.co.uk

    in reply to: Featured Icon Blocks not using excerpt? #42313
    delanthear
    Participant

    Here is the function to override in a child theme if you need it:

    function fluida_lpblocks() {
    	$maintitle = cryout_get_option('fluida_lpblockmaintitle');
    	$maindesc = cryout_get_option('fluida_lpblockmaindesc');
    	$pageids = cryout_get_option( array( 'fluida_lpblockone', 'fluida_lpblocktwo', 'fluida_lpblockthree', 'fluida_lpblockfour') );
    	$icon = cryout_get_option( array( 'fluida_lpblockoneicon', 'fluida_lpblocktwoicon', 'fluida_lpblockthreeicon', 'fluida_lpblockfouricon' ) );
    	$blockscontent = cryout_get_option( 'fluida_lpblockscontent' );
    	$blocksclick = cryout_get_option( 'fluida_lpblocksclick' );
    	$count = 1;
    	$pagecount = count (array_filter( $pageids ) );
    	if ( empty( $pagecount ) ) return;
    	?>
    	<section class="lp-blocks lp-blocks-rows-<?php echo absint( $pagecount ); ?>">
    		<?php if(  ! empty( $maintitle ) || ! empty( $maindesc ) ) { ?>
    			<div class="lp-section-header">
    				<?php if( ! empty( $maintitle ) ) { ?><h2 class="lp-section-title"> <?php echo do_shortcode( wp_kses_post( $maintitle ) ); ?></h2><?php } ?>
    				<?php if( ! empty( $maindesc ) ) { ?><div class="lp-section-desc"> <?php echo do_shortcode( wp_kses_post( $maindesc ) ); ?></div><?php } ?>
    			</div>
    		<?php } ?>
    		<div class="lp-blocks-inside">
    			<?php foreach ( $pageids as $key => $pageid ) {
    				if ( !empty( $pageid ) ) {
    					$page = get_post( $pageid );
    
    					switch ( $blockscontent ) {
    						case '2': $text = ''; break;
    						case '1': $text = $page->post_content; break; 
    						case '0': default: 
    							if ( ! empty( $page->post_excerpt ) ) {
    								$text = fluida_custom_excerpt( $page->post_excerpt ); 
    							} else {
    								$text = fluida_custom_excerpt( $page->post_content ); 
    							}
    							break;
    					};
    
    					$data[$count] = array(
    						'title' => $page->post_title,
    						'text'	=> $text,
    						'icon'	=> ( ( $icon[$key . 'icon'] != 'no-icon' ) ? $icon[$key . 'icon'] : '' ),
    						'link'	=> get_permalink( $pageid ),
    						'click'	=> $blocksclick,
    						'id' 	=> $count,
    					);
    					fluida_lpblock_output( $data[$count] );
    					$count++;
    				}
    			} ?>
    		</div>
    	</section>
    <?php } //fluida_lpblocks()
    in reply to: Landing page without page content? #42253
    delanthear
    Participant

    Fixed via overriding fluida_lpindex() and adding a hack. Would be nice to have an option in the theme to prevent from page content/. You really don’t need it with everything else 😀

    in reply to: Featured Icon Blocks not using excerpt? #42252
    delanthear
    Participant

    I’ve fixed this with a child theme. It looks like that to have post excepts being used properly, a tweak can be made to fluida_custom_excerpt in fluida/includes/core. It doesn’t look at that field at all. It could be tweaked to look for a post excerpt before creating one from the post.

    I’ve done it in a hacky way, but might spend some time adding this to the right function.

Viewing 17 posts - 1 through 17 (of 17 total)