Forum Replies Created

Viewing 30 posts - 241 through 270 (of 324 total)
  • Author
    Posts
  • in reply to: Lightbox from url #587178

    Thanks Ismael that fixed it. I tried lightbox-added but not just lightbox.
    Nice one
    Cheers
    Rob

    in reply to: Lightbox from url #584967

    Hi Vinnie,
    No it is not resolved. Lightbox is not working on a custom post type within the Enfold theme. The first code is the generated html for one thumbnail. The next code is the code in loop-index that calls the images.
    Sorry if I am repeating myself but I don’t know how to answer your question unless I summarize what I have already written.
    Thanks
    Rob

    in reply to: Lightbox from url #584318

    Hi Ismael,
    I haven’t added another lightbox plugin.
    It is adding the”lightbox-added” class but it doesn’t seem to be working. This is the generated html for one thumbnail:
    <a style="position: relative; overflow: hidden;" class="lightbox-added" href="http://goldhillmuseum.org.uk/wp-content/uploads/2016/01/Shaftesbury-War-Memorial-1.jpg"><img src="http://goldhillmuseum.org.uk/wp-content/uploads/2016/01/Shaftesbury-War-Memorial-1-80x80.jpg" alt=""><span style="display: none;" class="image-overlay overlay-type-image"><span class="image-overlay-inside"></span></span></a>
    The only difference I can see is that it is within a custom post type called Stories. The rest of the theme functionality seems to be okay. This is the loop-index.php:

    $content_output .= '<div class="story-images">';
    $content_output .=  '<span></br><strong>Images: </br></strong></span>';
    	if( $images ): 
    	$content_output .=  '<ul>';
    		foreach( $images as $image ):
    		$content_output .= '<li>';
    		$content_output .= '<a href="'.  $image['url'].'">';
    		$content_output .= '<img src="'. $image['sizes']['thumbnail'].'" alt="'.  $image['alt'].'" />';
    		$content_output .= '</a>';
    		$content_output .= '</li>';
    		endforeach;
    	$content_output .= '</ul>';
    	endif; 
    $content_output .= '</div>';

    Thanks
    Rob

    in reply to: Lightbox from url #583726

    Thanks Andy login below.

    in reply to: Lightbox from url #581682

    Thanks Yigit.
    I have a custom post type set up
    e.g. http://goldhillmuseum.org.uk/story/sidney-william-alner/
    Uploaded images display as thumbnails. This is the code from my loop-index.php.

    				$content_output .= '<div class="story-images">';
    				$content_output .=  '<span></br><strong>Images: </br></strong></span>';
    					if( $images ): 
    					$content_output .=  '<ul>';
    						foreach( $images as $image ):
    						$content_output .= '<li>';
    						$content_output .= '<a href="'.  $image['url'].'">';
    						$content_output .= '<img src="'. $image['sizes']['thumbnail'].'" alt="'.  $image['alt'].'" />';
    						$content_output .= '</a>';
    						$content_output .= '</li>';
    						endforeach;
    					$content_output .= '</ul>';
    					endif; 
    				$content_output .= '</div>';

    I was hoping that within the image link I could add a class or something that opens the images in lightbox and not full size as it does now.
    Cheers
    Rob

    in reply to: Templates with Enfold #570123

    Thanks Josue your a diamond!

    in reply to: Templates with Enfold #568588

    Hi Yigit
    I can’t see what you but logo is working fine now with the array. I just need to add 2 more filters

    1- to change the to the same logo on pages with /story/ in the address as well. (e.g. goldhillmuseum.org.uk/story/305/).

    2 – as mentioned I want this one to work too:

    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo)
    {
        if(wp_is_mobile() )
        {
        $logo = "http://goldhillmuseum.org.uk/wp-content/uploads/2015/06/gold-hill-museum-header-340x156.png";
        }
        return $logo;
    }

    Thanks for all your help
    Rob

    • This reply was modified 8 years, 11 months ago by fanlokbun.
    in reply to: Templates with Enfold #568016

    Thanks Yigit,

    Login below.

    BTW I had some other code in the functions.php very similar to change the logo on mobile devices. I have commented it out to try and get this code to work but I would prefer if they both did.

    in reply to: Templates with Enfold #567998

    Hi I have tried adding this to my functions.php in my child theme. (I’m guessing you meant that.)

    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo)
    {
        if(is_page(306) )
        {
        $logo = "http://goldhillmuseum.org.uk/wp-content/uploads/2016/01/great-war-header-90x380.png";
        }
        return $logo;
    }

    But no luck. Please help when you can.
    Thanks
    Rob

    in reply to: Templates with Enfold #566318

    One more thing:

    Please add following code to Functions.php file in Appearance > Editor

    I was just going to try it out but can’t find Appearance > Editor. I have Appearance > Edit CSS but no Functions.php there.

    in reply to: Templates with Enfold #566292

    Thanks Yigit that’s great.
    One dumb question I have a lot of pages with different ID’s. Say I had 3 page id’s of 301, 302, 303 would the functions.php be:

    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo)
    {
        if(is_page(301, 302, 303) )
        {
        $logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png";
        }
        return $logo;
    }
    in reply to: Custom Post Types UI #566251

    I realise that this job is out of the scope of your support. I didn’t expect you to do anything except point me to documents that will help me to do it like Ismael did earlier in this thread. I am willing to hire a freelancer again but I wanted to try myself first. You guys have always been very helpful that is why I have bought your theme 9 times ($640).

    in reply to: Templates with Enfold #565391

    Thanks Elliott,
    Sorry yes I mean separate pages in the same installation to have a different top menu and logo. What is the best way to do this?

    in reply to: Custom Post Types UI #564602

    As per you advice I hired a codeable freelance developer and modified the includes > loop-index.php to contain the custom fields. It worked great on individual ‘stories’. e.g: http://goldhillmuseum.org.uk/story/305/
    I now need to create the Stories home page but when I select Single Author Excerpt in the Blog Posts Content Element I get all the fields showing. How do I omit the custom fields and just show headings in the same way the blog works?

    in reply to: Moving servers #559215

    Good point no it didn’t so nothing to do with you guys. We’ve found another plugin.

    Thanks

    in reply to: Moving servers #558739

    Excellent thanks that sorted it.
    Sorry one more question. Swifty Page Manager plugin doesn’t work after the move do you know if there are any incompatibility issues with Enfold? I have removed it and reinstalled it a couple of times.
    Cheers
    Rob

    in reply to: Moving servers #558122

    One more quick question. The Enfold theme update is failing (3.4.3 to 3.4.7) can I just overwrite the whole folder with one downloaded from Themeforest?

    in reply to: Moving servers #558105

    Hi Rikard,
    Problem solved! I uploaded another copy of iconlist.php and deleted the old and it is now working. It must have got corrupted somehow.
    Many thanks for your help
    Rob

    in reply to: Masonry Gallery Pagination Bug (again) #558083

    Sorry I changed the page so it showed all images because I didn’t want to go live with the bug.
    Use this as an example:
    http://www.edendesignandinteriors.co.uk/penthouse-se1/page/3/
    This is page 3 of a slideshow with 19 images. When you click through to lightbox it only has 3 images in the slideshow. It should show all 19 images in that slideshow.
    Thanks
    Rob

    in reply to: Moving servers #557699

    Hi Rikard,

    I have now got access to the backend by disabling the Enfold theme.
    I have created you a login below.

    I contacted 1&1 support and they have sent me this reply to forward on to you:

    As checked, the file stated on the error message is really the one that’s causing the issue. It is incomplete. Please the details below:

    array(
    “name” => __(“Apply link to icon”, ‘avia_framework’ ),
    “desc” => __(“Do you want to apply the link to the icon?”, ‘avia_framework’ ),
    “id” => “linkelement”,
    “requir

    Unfornately, we will not be able to help you fix the issue as you will need to refer this to you theme provider. You may now contact them and inform if it’s possible to get a copy of this file so you can replace the incomplete one. For you to be able to get the file, please see the path below:
    staging/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/iconlist.php on line 97

    You can download the file and provide it to them for their reference. You may as well just ask a complete copy of the theme.

    By the way:
    – I have not re-uploaded anything as far as I can see it is an exact copy of what was on the old server with the same URLs.
    – The old server was running PHP 5.3 and the new server is running 5.4.45
    – WordPress now needs updating on the new server. I haven’t done it because I don’t want to change anything.
    – The same with 9 plugins needing updates and three unused themes.

    Please can you take a look. Please advise if I need to do anything.
    Thanks
    Rob

    in reply to: Moving servers #557173

    I can’t access the backend any more to set up users or do anything. I just get the above error.
    You can have FTP info if that is of any use.
    Thanks
    Rob

    in reply to: Moving servers #556491
    in reply to: Masonry Gallery Pagination Bug (again) #555582

    Yes but that is my point. I am sure that, before the wp upgrade broke it, the lightbox used to show all 20 images in the slideshow not just the 8 in the pagination section. This is also the logical and normal behavior for lightbox slideshows. Every image in the slideshow would be linked (with e.g. rel=”lightbox”).

    In this example I have only 3 images along the top. It looks stupid only having 3 images in the lightbox.
    http://s603302818.websitehome.co.uk/stone-sculpture

    If this is the default behavior please tell me how to show every image in the slideshow when you enter the lightbox.

    Thanks
    Rob

    in reply to: Masonry Gallery Pagination Bug #555097

    That fixed it. Well done guys.
    Cheers
    Rob

    in reply to: Masonry Gallery Pagination Bug #554589

    Excellent thanks. I’ll look out for an update.
    Cheers
    Rob

    in reply to: Masonry Gallery Pagination Bug #554558

    I updated 5 plugins and it still worked okay.
    I then updated to WordPress 4.4 and the problem appeared!
    I have not updated the Enfold theme yet as it looks like it is not the problem. I will hang fire until you let me know if you want me to update it.

    Cheers
    Rob

    in reply to: Masonry Gallery Pagination Bug #553797

    Thanks Andy
    Okay I have:
    – updated the theme
    – disabled all plugins
    – created a new slideshow – http://s603302818.websitehome.co.uk/outdoor-sculpture-5
    Still not moving forward.

    Login below

    FYI I have the Masonry same setup running on another site of mine with Enfold 3.3.2 not updated yet and it works fine. Let me know if you want me to update it and see if it breaks.

    Cheers
    Rob

    in reply to: Copy slideshow #553326

    Thanks Basilis,
    I couldn’t fint it in the demo content so I recreated it here:
    http://s603302818.websitehome.co.uk/outdoor-sculpture
    I didn’t realise it was a galley not a slideshow. I need a slideshow with 1 row of thumbnails across the bottom. Like this site that I am rebuilding:
    http://www.annecurry-sculpture.co.uk/outdoor_garden_sculpture.html
    Is it possible for the Gallery to act as a slideshow or do you know if any of your other suite of tools will do it.
    Rob

    in reply to: Custom Post Types UI #549724

    Hi Ismael,
    Thanks again. I am trying to get my head around this but I am not very confident in PHP and can’t work out where in the loop-index.php to add the get_post_meta() functions.
    Please see private content below.
    Thanks
    Rob

    in reply to: Custom Post Types UI #548222

    Yes I do need some more help.
    1. When I add the blog posts element it only gives me the option to display blog posts or entries from a custom taxonomy? It doesn’t allow me to choose my new custom post type ‘Stories’. If I select ‘from a custom taxonomy’ I can choose from my new custom taxonomy ‘Service’ but I need all Story entries.
    2. When the entries are displayed from my new custom post type ‘Stories’ (using Service Taxonomy) it doesn’t show any of the new custom fields created for it. (Just featured image and title which I left switched on)
    Any help would be most appreciated. This is the page I am using: http://goldhillmuseum.org.uk/stories/
    Many thanks
    Rob

Viewing 30 posts - 241 through 270 (of 324 total)