Jump to content

rosatk

Circle Member
  • Posts

    20
  • Joined

  • Last visited

Posts posted by rosatk

  1. Hi all 

    I want to map all previous blog links from europeanspodcast.com/episodes/[existing links] to europeanspodcast.com/all-episodes/[existing links]

    There are hundreds of existing blog pages so i don't want to manually add each one separately. This is one for example: europeanspodcast.com/episodes/why-give-a-damn-about-the-european-elections

    I have added this into the url map: 

    /episodes -> /all-episodes 301 

    but it hasn't worked. What can i do?

  2. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
    <script>
    
      $( ( ) => {
      
        /*
        
          auto click user items list arrow right
          
          Version       : 0.1d0
          
          SS Version    : 7.1
          
          Dependancies  : jQuery
          
          Note          : this effect is not active in SS Preview to test it use
                          private browsing < https://bit.ly/3f6lhq2 >.
          
          By            : Thomas Creedon < http://www.tomsWeb.consulting/ >
          
          */
          
        const clickIntervalSeconds = 1;
        
        const dataSectionIds = [
        
          /*
          
            to limit the effect to certain page sections, enter data section ids for
            each page section.
            
            the format of each line is a data section id
            
            following is an example line. copy the example line below and paste
            after the example line. remove '// ' at beginning of pasted line. repeat
            for as many data sections ids as needed
            
            */
            
          // '[enter data section id here between single quotes]',
          
          ];
          
        // do not change anything below, there be the borg here
        
        if ( window.frameElement !== null ) return; // bail if in Preview
        
        let selector = [
        
          '.user-items-list-banner-slideshow__arrow-button--right',
          
          '.user-items-list-carousel__arrow-button--right',
          
          ];
          
        // begin shotgun selector
        
          if ( ! dataSectionIds.length ) dataSectionIds.push ( '' );
          
          selector = $.map ( selector, function ( s, i ) {
          
            if ( ! dataSectionIds.length ) dataSectionIds.push ( '' );
            
            const a = $.map ( dataSectionIds, function ( d, i ) {
            
              if ( d ) d = '[data-section-id="' + d + '"] ';
              
              return d + s;
              
              } )
              
            return a;
            
            } )
            
            .join ( ', ' );
            
          // end shotgun selector
        
        const $button = $( selector );
        
        if ( ! $button.length ) return; // bail if no button
        
        const click = ( ) => {
        
          $button.click ( );
          
          }
          
        setInterval ( click, clickIntervalSeconds * 1000 );
        
        } );
        
      </script>

    here you go @tuanphan

  3. https://theeuropeans.squarespace.com/

    password: Macron 

    Hi there, I want to smoothen the auto play of the carousel scroll on my homepage – ideally something to something smoother like this https://www.europod.eu/. Even better if  one item even can expand a little like that example

    I am using this code: 
     

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
    <script>
    
      $( ( ) => {
      
        /*

    can anyone help me? 

    Screenshot 2024-05-02 at 17.26.01.png

  4. Hi all 

    I'd love for someone to click a blog category (e.g. 'Italy') and then ONLY see blogs about Italy (not the 'Mini Series' section that is embedded on the blog overview page). 

    The mini series section needs to stay on the blog overview page. I can't use a summary block for the blog because they only show 30 posts. 

    Please help!

    https://theeuropeans.squarespace.com/episodes/category/Italy 

     

     

    Screenshot 2024-04-23 at 11.01.34.png

    Screenshot 2024-04-23 at 11.01.49.png

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.