Jump to content

hev45

Circle Member
  • Posts

    12
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

hev45's Achievements

  1. Hi all, I'm getting regular visits every couple of minutes to this site from different IP addresses, but the same geographical location. I'm assuming this is bot traffic and it's really skewing the analytics. Does anyone have insight on filtering this from the analytics data or combatting the problem? Many thanks, Matt
  2. Hi all, I manage websites for an business which owns various brands. These brands have their own websites, all on Squarespace, all have their own news blogs. The master business wants to have the news blogs from it's brands surfacing in a summary block on it's own site. These would then link back to the original content. Any idea home this could be achieved? Would an iframe work for something like this? Thanks for your time, Matt
  3. I used the quick tutorial by @ArminB but for me it only works on certain browsers. Safari still defaults to the back up font, my Chrome is fine, but my client's Chrome defaults. Has anyone else had this issue?
  4. Hi, I'm relative coding novice trying to work around the GDPR / Google Fonts issue by uploading fonts to Squarespace. CSS as follows - @font-face { font-family: 'Bebas Neue', sans-serif; src: url('https://static1.squarespace.com/static/5a26b704edaed8708f8a1b20/t/637dee7c40e9637fe26f68a8/1669197436822/BebasNeue-Regular.ttf'); } h1, h2 { font-family: 'Bebas Neue', sans-serif; } This works fine for me on Chrome and Firefox with the custom fonts, but Safari goes to the default font. Confusingly, although this works for my Chrome, my client's Chrome also goes to the default font. Any help would be greatly appreciated as my brain is melting.
  5. Hi Paul, The top level code looks like this - function mpi_apt_cs_init_script() { wp_register_style( 'mpi-apt-cs', plugins_url( 'assets/css/main.css', __FILE__ ), array(), '2.0.2', 'all'); wp_enqueue_style( 'mpi-apt-cs' ); my_jquery_enqueue(); wp_enqueue_script( 'mpi-color-selector-2-js', plugins_url('assets/js/main.js', __FILE__ ), array(), '2.0.2', false); } function mpi_apt_cs_dequeue_styles() { wp_dequeue_style( 'mpi-css' ); wp_deregister_style( 'mpi-css' ); } function mpi_apt_cs_dequeue_scripts() { wp_dequeue_script( 'mpi-color-selector-js' ); } function mpi_apt_cs() { ob_start(); require_once(plugin_dir_path( __FILE__ ) . 'views/main.php'); return ob_get_clean(); } function my_jquery_enqueue() { wp_deregister_script('jquery'); wp_register_script('jquery', "http" . ($_SERVER['SERVER_PORT'] == 443 ? "s" : "") . "://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js", false, null); wp_enqueue_script('jquery'); } add_action('wp_enqueue_scripts', 'mpi_apt_cs_init_script'); add_action('wp_print_styles', 'mpi_apt_cs_dequeue_styles'); add_action('wp_print_scripts', 'mpi_apt_cs_dequeue_scripts'); add_shortcode('mpi_apt_cs', 'mpi_apt_cs'); define('MPI_APT_CS_PLUGIN_URL', plugin_dir_url( __FILE__ )); define('MPI_APT_CS_PLUGIN_DIR', plugin_dir_path( __FILE__ )); ?>
  6. Hi, I've been given a colour selector app (that was developed for a traditional website) to include on a Squarespace site. It changes the colour of different parts of an image based on a visitor's selection. It's set up in a hierarchy of folders. Is it possible to add these folders to Squarespace as they are, to be referenced from a code block? Or will I need to get the developer to adjust the app. Thanks in advance for your thoughts on this. Matt
×
×
  • 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.