Forum Replies Created

Viewing 30 posts - 451 through 480 (of 501 total)
  • Author
    Posts
  • in reply to: Remove titles via child theme #254186

    I removed <{heading} class='main-title entry-title'>{title}</{heading}> from line 274 of functions-enfold.php.

    So, now I tried putting the following in a functions-enfold.php file and uploaded it to the enfold-child folder, but it didn’t work:

    	<?php
    add_filter('avf_title_args', 'avf_remove_header_title', 10, 1);
    function avf_remove_header_title($args) {
        $args['title'] = '';
        return $args;
    }
    	?>

    Anything else I can try?
    Thanks!

    in reply to: slow loading in safari #254055

    Sorry, I no longer think this is an Enfold-specific issue. At this point, it seems to be something very specific to WordPress in general certain Safari users. Like WP sites will load fine for me in Safari, but hang crazy long for my roommate (same version of Safari, same house). It seems to happen with various themes and various hosting services (although all shared hosting). And it doesn’t even seem consistent — sometimes the same sites load fine. But it’s definitely an issue, just tough to pin down. DNS prefetching seems to have potential as a culprit. Please let me know if this issue sounds familiar to you, although I realize it’s not Enfold-specific, so feel free to ignore ;) And sorry for the false alarm.

    in reply to: Remove titles via child theme #253622

    OK, I don’t really know php, so, my best guess based on your reply was to create a functions-enfold.php file with the following code — with the title removed in the html line of the default array — and upload that to the enfold-child folder. This didn’t work for me. I tried chopping out some of the stuff above and below the array, but nothing worked. Can you tell me what I’m doing wrong?

    
    <?php
        
    	function avia_title($args = false, $id = false)
    	{
    		global $avia_config;
    
    		if(!$id) $id = avia_get_the_id();
    		
    		$header_settings = avia_header_setting();
    		if($header_settings['header_title_bar'] == 'hidden_title_bar') return "";
    		
    		$defaults 	 = array(
    
    			'title' 		=> get_the_title($id),
    			'subtitle' 		=> "", //avia_post_meta($id, 'subtitle'),
    			'link'			=> get_permalink($id),
    			'html'			=> "<div class='{class} title_container'><div class='container'>{additions}</div></div>",
    			'class'			=> 'stretch_full container_wrap alternate_color '.avia_is_dark_bg('alternate_color', true),
    			'breadcrumb'	=> true,
    			'additions'		=> "",
    			'heading'		=> 'h1' //headings are set based on this article: http://yoast.com/blog-headings-structure/
    		);
    
    		if ( is_tax() || is_category() || is_tag() )
    		{
    			global $wp_query;
    
    			$term = $wp_query->get_queried_object();
    			$defaults['link'] = get_term_link( $term );
    		}
    		else if(is_archive())
    		{
    			$defaults['link'] = "";
    		}
    		
    		//disable breadcrumb if requested
    		if($header_settings['header_title_bar'] == 'title_bar') $defaults['breadcrumb'] = false;
    
    		// Parse incomming $args into an array and merge it with $defaults
    		$args = wp_parse_args( $args, $defaults );
    		$args = apply_filters('avf_title_args', $args, $id);
    
    		// OPTIONAL: Declare each item in $args as its own variable i.e. $type, $before.
    		extract( $args, EXTR_SKIP );
    
    		if(empty($title)) $class .= " empty_title ";
            $markup = avia_markup_helper(array('context' => 'avia_title','echo'=>false));
    		if(!empty($link)) $title = "<a href='".$link."' rel='bookmark' title='".__('Permanent Link:','avia_framework')." ".esc_attr( $title )."' $markup>".$title."</a>";
    		if(!empty($subtitle)) $additions .= "<div class='title_meta meta-color'>".wpautop($subtitle)."</div>";
    		if($breadcrumb) $additions .= avia_breadcrumbs(array('separator' => '/', 'richsnippet' => true));
    
    		$html = str_replace('{class}', $class, $html);
    		$html = str_replace('{title}', $title, $html);
    		$html = str_replace('{additions}', $additions, $html);
    		$html = str_replace('{heading}', $heading, $html);
    
    		if(!empty($avia_config['slide_output']) && !avia_is_dynamic_template($id) && !avia_is_overview())
    		{
    			$avia_config['small_title'] = $title;
    		}
    		else
    		{
    			return $html;
    		}
    	}
    	?>
    
    in reply to: avia framework popups within elements stopped working #252991

    Oops, now I can’t edit text elements in the Avia Builder — the text is just all white. I’m guessing if I could just update the theme, it’d fix it but the theme update doesn’t seem to be showing up in the options panel — any idea why that might be?

    http://nation-foundation.org

    in reply to: avia framework popups within elements stopped working #252986

    FYI, I just noticed the problem persists in Chrome, but it’s resolved in Firefox. I’m ok working inf Firefox, but just FYI for anyone else.

    in reply to: avia framework popups within elements stopped working #252855

    I’m not running WPML but I just updated to WordPress 3.9 and that seems to have fixed my issue. I was running WP 3.8.3 and I”m running Enfold 2.6.2.

    in reply to: Do the theme update notifications not work with child theme? #229956

    Scratch that, the update just showed up!

    in reply to: text shift on image hover #229143

    I went with Yigit’s solution, because it looked more universal, and it seems to have worked! Thanks, guys!

    in reply to: text shift on image hover #228892
    This reply has been marked as private.
    in reply to: Video in Fullwidth Easy Slider auto plays #226417

    I too would love it if you guys could fix this — just wanted to add my vote ;)

    in reply to: photoswipe lightbox #198829

    I finally got around to trying this, and, while it does have some advantages, it’s not quite enough of an improvement for me to switch. It’s still not swipable, the images are smaller than with the theme’s plugin, and, even though it has the significant advantage of providing full-screen images, if you “pinch” or “spread” those full-size images on the iPhone, and then close them, the page layout get’s tweaked to the point of having to reload the page.

    Also, correct me if I’m wrong, but I don’t much like the thumbnails in fancybox, although they’re somewhat useful. Finally, it seems the usual fancybox settings (usually found in Settings > Media, I think), don’t seem to be available in this setup.

    PrettyPhoto looks pretty good on the iPad, which is what most of my client’s clients will likely be viewing on, so I guess I’ll stick with that, for now. But thanks so much Dude/Peter, for passing this along!

    Let me know if you guys find anything swipable and or spreadable! ;)

    in reply to: autocrop gallery or images #197950

    Ah, I didn’t think of that! I’ll try that — thanks!

    in reply to: autocrop gallery or images #197833

    I was thinking about that! Thanks, but what I’ve been able to get by with in this case is using the 180×180 square option for the thumbnail sizes — http://cbdmh.info/training/summer-fieldwork-2013/ (about to take this site live, at which point the url will switch to http://cbdmh.org/training/summer-fieldwork-2013/). These are scaled up a bit, at the full width. It’d be great if the 300×300 thumb option worked the same way — that’d probably handle almost any need like this, it seems.

    Thanks again!

    in reply to: autocrop gallery or images #197645

    OK, thanks anyway.

    in reply to: autocrop gallery or images #197520

    Thanks, I hadn’t tried that, and it’s close, but I need something I can put in the body area of pages — not a full-width header, so to speak.

    in reply to: Excerpt With Read More Link Blog Style #197496

    Hey thanks so much for the detail instructions. Do you guys already have it in the feature requests to provide an “Excerpt With Read More Link” option under General Settings > Blog Style? In my experience, that’s the most standard Blog index page style.

    • This reply was modified 12 years, 1 month ago by sky19er.
    in reply to: unwanted extra line breaks being inserted #197249

    Well, that removes formatting from other elements. I tried all the other options — they all seem to have negative side-effects — mostly in terms of removing paragraphs where I actually need them.

    UPDATE: I’m finding that if I just ignore the extra line breaks being added, and hit the blue “Update” button, the extra line breaks go away! NIce!

    • This reply was modified 12 years, 1 month ago by sky19er.
    in reply to: unwanted extra line breaks being inserted #196927

    OK, I installed that plugin. Do you know what I’m supposed to use — Textile 1, Textile 2, Markdown, nl2br, or No Formatting?

    in reply to: Excerpt With Read More Link Blog Style #196894

    Yeah, that’s how I have it, but that’s what causes the little problem I described above with the title switching to “Blog – Latest News” and linking to the home page instead of the blog index.

    ][;;;;;;”\]

    in reply to: Excerpt With Read More Link Blog Style #196737

    Here’s a link to my dev site blog index: http://cbdmh.info/news2/ and an example single post http://cbdmh.info/dsm-5-recap-the-eight-dimensions-of-psychosis/

    in reply to: Excerpt With Read More Link Blog Style #196736

    OK, thanks. So, when I use the method I noted to get my “Excerpt With Read More Link” Blog index, I notice, the single.php page title switches from “Blog” to “Blog – Latest News”, and those titles link to the home page? Seems like the title should stay the same — “Blog” — and link to the Blog index page. Can you tell me how to fix that? Should I start a new thread for this?

    Thanks again!

    in reply to: long titles overlapping breadcrumbs #195897

    Hmm, ok, I don’t think I want the breadcrumbs under the titles, but thanks anyway. I’ll just shorten the page titles or something.

    Thanks!

    in reply to: promo box formatting #192799

    Oh snap! Thanks!

    in reply to: promo box formatting #192796

    Thanks for the quick response, but that doesn’t seem to work. I have a test of it at the bottom of http://cbdmh.info/ No big deal, if it’s too much of a pain — I have bigger fish to fry ;)

    in reply to: no styles after import / migration #192640

    I re imported this and was able to solve the issue. Not sure exactly how, but… please disregard ;)

    in reply to: layer slider bullet list #187090

    ok, thanks!

    in reply to: layer slider bullet list #186730

    I had. It works like Span works — no bullets and it doesn’t the spacing and placement are off/different from the preview. Is that as good as it gets?

    in reply to: photoswipe lightbox #186510

    I just tried that plugin and the images in my portfolio grid disappeared, the thumbnails on my galleries stopped animating in, and the lightboxes stopped working at all.

    The lightbox pretty much sucks on the iPhone — the formatting is funky, and having to click on those little arrows is really cumbersome. I would LOVE it if there were some improvement on this. Please let me know if you have any ideas.

    I deactivated all my plugins and that didn’t seem to fix it — maybe something built into the Enfold theme? Anyway, I’m not too worried about it, if you want to drop it. Thanks, anyway.

    I know, but it would save a step if that button worked, and it would be easier for the layperson/client to make updates if needed. So, the question was, do you know why that button isn’t working?

Viewing 30 posts - 451 through 480 (of 501 total)