Simon Kravis
Forum Replies Created
-
Forum: Plugins
In reply to: [Download Monitor] Download URLs not createdIf I change the WP Settings->Permalink from the custom value used by WPForo ( https://captionpro.com.au:444/AlekaConsulting/index.php/%year%/%monthnum%/%day%/%postname%/)to Plain or Post Name Download Monitor shows the expected screens, but if I try use PayPal gateway on the Checkout page I get “Payment gateway error: Could not create payment. Please check your Paypal Logs”. I have created a Paypal application as described in the documentation and obtained client ID and Secret ID strings and entered these for Sandbox and regular options. Checking the Paypal Developer Sandbox API Call History for the merchant account I get the message
“Something went wrong fetching sandbox API calls. Try again.
If you wish to report this error please include the following error id: 14dccde447053”Trying again produces the same message.
Can’t understand why the link doesn’t work. Here it is again
https://captionpro.com.au:444/AlekaConsulting/index.php/caption-pro-desktop-license-1-year/
It seems as though this forum does not support images, so I can’t attach a screenshot.
I found that removing the button and adding it again made the button text appear as shown in the link above, with the price followed by – Purchase. This is OK, but I would like to able to control the text appearing on the button.
- This reply was modified 4 years, 4 months ago by Simon Kravis.
- This reply was modified 4 years, 4 months ago by Simon Kravis.
Forum: Plugins
In reply to: [Yoast SEO] Yoast not detecting internal linksLooking at other pages I find that a page with the link https://captionpro.com.au/CaptionProWeb.aspx does not show as missing any internal links. It would seem that the presence of the port number in the link URL prevents it from being identified as an internal link.
Forum: Plugins
In reply to: [Yoast SEO] bbPress affects Yoast xml sitemapI changed the forum to WPForo and Yoast works OK with this. bbPress is so widely used that others must have come across this incompatibility if it is fundamental. I suspect your diagnosis is correct, but I won’t be going back to bbPress to check.
Thanks for your help.
Forum: Plugins
In reply to: [Yoast SEO] Yoast not detecting internal linksThe WordPress and Site Address is https://captionpro.com.au:444/AlekaConsulting.
Timezone is UTC+0 (hadn’t thought to change it) I am in Eastern Australia, which I think is UTC+10. Site Language is English (United States) – again hadn’t thought to change it.All links are in absolute form and all contain the port number. They are mostly in pages and embedded in blocks, mostly Paragraphs, sometimes Headers, some Classic. Blog posts with internal links are also shown by Yoast as having none. I am using the default WordPress block editing facility in WP 5.3
- This reply was modified 4 years, 11 months ago by Simon Kravis.
Forum: Fixing WordPress
In reply to: Problem moving WP site to httpsI found that I was able to use Really Simple SSL to install an SSL certificate and convert the site to use https after I changed the WordPress Settings-> General-> WordPress Address (URL) and Site Address (URL) to https://captionpro.com.au:444/AlekaConsulting
- This reply was modified 5 years, 6 months ago by Simon Kravis.
Forum: Fixing WordPress
In reply to: Adding Video header to twentysixteen-child themStill no joy after modifying as you suggested. When I select Customize Header Media I get the message “This theme does not support video headers on this page” and if I browse Media Library for images to show, videos are excluded.
Forum: Fixing WordPress
In reply to: Adding Video header to twentysixteen-child themThank you for your prompt response. I am new to WP, having moved from the much simpler environment of GoDaddy Website Builder, which did not have the capability of WP.
Following advice on creating a child theme and the suggestion above, the file C:\inetpub\wwwroot\AlekaConsulting\AlekaConsulting\wp-content\themes\twentysixteen-child\functions.php now contains
<?php date_default_timezone_set("Australia/Sydney"); add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); add_theme_support( 'custom-header', array( 'video' => true, ) ); function my_theme_enqueue_styles() { $parent_style = 'twentysixteen-style'; // This is 'twentysixteen-style' for the Twenty Sixteen theme. wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( $parent_style ), wp_get_theme()->get('Version') ); } function current_time_date(){ $dt = current_time('timestamp'); return date('F jS, Y, H:i:s',$dt); } add_shortcode( 'time_date', 'current_time_date' ); function themename_custom_header_setup() { $defaults = array( // Default Header Image to display 'default-image' => get_template_directory_uri() . '/images/headers/default.jpg', // Display the header text along with the image 'header-text' => false, // Header text color default 'default-text-color' => '000', // Header image width (in pixels) 'width' => 1000, // Header image height (in pixels) 'height' => 198, // Header image random rotation default 'random-default' => false, // Enable upload of image file in admin 'uploads' => false, // function to be called in theme head section 'wp-head-callback' => 'wphead_cb', // function to be called in preview page head section 'admin-head-callback' => 'adminhead_cb', // function to produce preview markup in the admin screen 'admin-preview-callback' => 'adminpreview_cb', ); } add_action( 'after_setup_theme', 'themename_custom_header_setup' ); add_theme_support( 'custom-header', array( 'video' => true, ) );
There is no Header.php file in C:\inetpub\wwwroot\AlekaConsulting\AlekaConsulting\wp-content\themes\twentysixteen-child. I copied the header.php file from C:\inetpub\wwwroot\AlekaConsulting\AlekaConsulting\wp-content\themes\twentysixteen and amended it to the following:
<?php /** * The template for displaying the header * * Displays all of the head element and everything up until the "site-content" div. * * @package WordPress * @subpackage Twenty_Sixteen * @since Twenty Sixteen 1.0 */ ?><!DOCTYPE html> <html <?php language_attributes(); ?> class="no-js"> <head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="profile" href="https://gmpg.org/xfn/11"> <?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?> <link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>"> <?php endif; ?> <?php wp_head(); ?> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-48471859-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-48471859-1'); </script> </head> <body <?php body_class(); ?>> <?php wp_body_open(); ?> <div id="page" class="site"> <div class="site-inner"> <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentysixteen' ); ?></a> <header id="masthead" class="site-header" role="banner"> <div class="site-header-main"> <div class="site-branding"> <?php twentysixteen_the_custom_logo(); ?> <?php if ( is_front_page() && is_home() ) : ?> <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> <?php else : ?> <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p> <?php endif; $description = get_bloginfo( 'description', 'display' ); if ( $description || is_customize_preview() ) : ?> <p class="site-description"><?php echo $description; ?></p> <?php endif; ?> </div><!-- .site-branding --> <?php if ( has_nav_menu( 'primary' ) || has_nav_menu( 'social' ) ) : ?> <button id="menu-toggle" class="menu-toggle"><?php _e( 'Menu', 'twentysixteen' ); ?></button> <div id="site-header-menu" class="site-header-menu"> <?php if ( has_nav_menu( 'primary' ) ) : ?> <nav id="site-navigation" class="main-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Primary Menu', 'twentysixteen' ); ?>"> <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'primary-menu', ) ); ?> </nav><!-- .main-navigation --> <?php endif; ?> <?php if ( has_nav_menu( 'social' ) ) : ?> <nav id="social-navigation" class="social-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Social Links Menu', 'twentysixteen' ); ?>"> <?php wp_nav_menu( array( 'theme_location' => 'social', 'menu_class' => 'social-links-menu', 'depth' => 1, 'link_before' => '<span class="screen-reader-text">', 'link_after' => '</span>', ) ); ?> </nav><!-- .social-navigation --> <?php endif; ?> </div><!-- .site-header-menu --> <?php endif; ?> </div><!-- .site-header-main --> <?php if ( get_header_image() ) : ?> <?php /** * Filter the default twentysixteen custom header sizes attribute. * * @since Twenty Sixteen 1.0 * * @param string $custom_header_sizes sizes attribute * for Custom Header. Default '(max-width: 709px) 85vw, * (max-width: 909px) 81vw, (max-width: 1362px) 88vw, 1200px'. */ $custom_header_sizes = apply_filters( 'twentysixteen_custom_header_sizes', '(max-width: 709px) 85vw, (max-width: 909px) 81vw, (max-width: 1362px) 88vw, 1200px' ); ?> <?php the_custom_header_markup(); ?> <?php endif; // End header image check. ?> </header><!-- .site-header --> <div id="content" class="site-content">
However, when I go to customize Header Media I only have the option to select an image from the media libary, not a link to a video. Selecting a different image also does not change the background image.
Forum: Fixing WordPress
In reply to: Blog posts do not show name, date, tags or commentsIs it possible to make them show up for all posts?