Forum Replies Created

Viewing 14 replies - 31 through 44 (of 44 total)
  • Thread Starter Paul

    (@armstrong698)

    Yeah I have emailed the company this morning, no reply as yet. Ill not hold my breath. Well guys thanks for your help its hugely appreciated! ??

    Thread Starter Paul

    (@armstrong698)

    Yes it is definitely the theme

    Thread Starter Paul

    (@armstrong698)

    Thanks for the heads up, but I have done too much work to throw it away but I will be certainly avoiding it in the future.

    … and still determined to find this problem. But now you have removed the code with the problem… and THAT is making finding the problem impossible.

    Is it at least a JS library or jQuery library? so I can replace it with a new, error free version?

    Thread Starter Paul

    (@armstrong698)

    It was from genericwpthemes or something like that… The site is not live yet so hacking is unlikely. What exactly does the code do? and why is it bad?

    Thread Starter Paul

    (@armstrong698)

    The code is too big but here is just a snippet which may give you an idea of what it is…

    [ Moderator note: code redacted ]

    Thread Starter Paul

    (@armstrong698)

    Hi while searching for the source of the problem I found that the functions.php file throws a syntax error in the code below. Obviously it would be pretty impossible to search through it all to find the mistake, especially considering I don’t even know what it is. But if it is a JavaScript or jQuery library could I not find the original from the jQuery website or whatever and paste the good code directly over it?

    Thread Starter Paul

    (@armstrong698)

    no joy,

    It was already included and I added it a second time to no avail.

    <?php if (wp_loaded() === true) { ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    <head profile="https://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
    <title><?php wp_title( '|', true, 'right' ); bloginfo( 'name' ); ?></title>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url') ?>" type="text/css" media="screen" />
    <!--[if IE 6]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie6.css" type="text/css" media="screen" /><![endif]-->
    <!--[if IE 7]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie7.css" type="text/css" media="screen" /><![endif]-->
    <link rel="shortcut icon" type="image/x-icon" href="<?php bloginfo('stylesheet_directory'); ?>/favicon.ico" />
    <link rel="shortcut icon" type="image/png" href="<?php bloginfo('stylesheet_directory'); ?>/favicon.png" />
    <?php if(WP_VERSION < 3.0): ?>
    <link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', THEME_NS), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', THEME_NS), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" />
    <?php endif; ?>
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php
    remove_action('wp_head', 'wp_generator');
    wp_enqueue_script('jquery');
    if ( is_singular() && get_option( 'thread_comments' ) ) {
    	wp_enqueue_script( 'comment-reply' );
    }
    wp_head(); ?>
    <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/script.js"></script>
    </head><?php } ?>
    <body <?php if(function_exists('body_class')) body_class(); ?>>
    <div id="art-main">
        <div class="cleared reset-box"></div>
        <div class="art-nav">
        	<div class="art-nav-l"></div>
        	<div class="art-nav-r"></div>
            <div class="art-nav-outer">
            <div class="art-nav-wrapper">
            <div class="art-nav-inner">
        	<?php
        		echo theme_get_menu(array(
        				'source' => theme_get_option('theme_menu_source'),
        				'depth' => theme_get_option('theme_menu_depth'),
        				'menu' => 'primary-menu',
        				'class' => 'art-hmenu'
        			)
        		);
        	?>
            </div>
            </div>
            </div>
        </div>
        <div class="cleared reset-box"></div>
        <div class="art-sheet">
            <div class="art-sheet-body">
                <div class="art-header">
                    <div class="art-logo">
                    <?php if(theme_get_option('theme_header_show_headline')): ?>
                    <h1 class="art-logo-name"><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
                    <?php endif; ?>
                    <?php if(theme_get_option('theme_header_show_slogan')): ?>
                        <h2 class="art-logo-text"><?php bloginfo('description'); ?></h2>
                    <?php endif; ?>
                    </div>
                </div>
                <div class="cleared reset-box"></div>

    Thread Starter Paul

    (@armstrong698)

    Hi thanks for your response.

    The theme does not do anything technical, it doesnt even have a slider. Maybe it does not have jQuery libraries at all.

    The theme can be downloaded for free here:
    https://genericwpthemes.com/theme/best-wedding-dress.html

    Is there an easy way to add these jQuery and JavaScript libraries?

    I have tested the plugin on a theme what uses all the same plugins I have used on this site but has a slider which uses jQuery so it seems to me the source of the problem is almost certainly a lack of these libraries you mention.

    Thread Starter Paul

    (@armstrong698)

    I have just tested the PhotoSwipe on another theme and it works completely fine AND offers all the functionality I would like.

    Any ideas why this might not be working because of a specific theme?

    Thread Starter Paul

    (@armstrong698)

    I used the following PHP code:

    <?php echo do_shortcode(‘[testimonialswidget_widget char_limit=185 category=”testimonials” refresh_interval=6]’); ?>

    Thread Starter Paul

    (@armstrong698)

    Possibly by using something sort of wildcard…

    <a href="https://picasaweb.google.com/username/album#*">Your Album Title</a>

    Thread Starter Paul

    (@armstrong698)

    I am currently using the code:

    <a href="https://picasaweb.google.com/usernamen/albumname">Your Album Title</a>

    Thread Starter Paul

    (@armstrong698)

    Solved

    Thread Starter Paul

    (@armstrong698)

    Sorry for the late reply. I forgot all about this.

    I have managed to fix the problem.

Viewing 14 replies - 31 through 44 (of 44 total)