mbain
Forum Replies Created
-
Having the same issue, thanks for the workaround. Please notify when fixed.
Forum: Plugins
In reply to: [Author Avatars List/Block] Widget settings unset on saveWill try to solve ASAP
Great! I’ll keep my eyes peeled for an update.
The shortcode should take a user_link value of last_post
Setting the
user_linkvalue in the shortcode tolast_postchanges the link on the user’s name. What I would like to do is show an additional link underneath the user’s bio, similar to what can be achieved using the widget.As this functionality is already in place in the widget, perhaps it’d be relatively easy to extend it to the shortcode?
Thanks
Forum: Fixing WordPress
In reply to: content errors with httpsLooking at your site, the problem is that your site is trying to request an insecure stylesheet, e.g. it’s trying to download a file from the HTTP address instead of the HTTPS, and the browser is preventing this.
Mixed Content: The page at 'https://www.ammylamphotography.com/' was loaded over HTTPS, but requested an insecure stylesheet 'http://www.ammylamphotography.com/wp-content/uploads/pp/static/9d844a13-e150-412d-b8d5-d5c8d455ff8e-1575286917.css'. This request has been blocked; the content must be served over HTTPS.Looking at that URL, it looks to me as if you are loading a cached stylesheet. Try first clearing the cache (I think it’s the Autoptimize plugin), see if that works.
Forum: Fixing WordPress
In reply to: Error establishing a database connectionYour hosting company should be able to help you reset your database password. Usually you can do this yourself via cPanel or whatever panel they use. I don’t think you can do it via phpmyadmin.
Forum: Fixing WordPress
In reply to: Fatal ErrorBefore anything else, make sure you have the latest version of the plugin installed.
Forum: Plugins
In reply to: [MultilingualPress] Automatic hreflang tagsFor anyone interested, here’s how I did it in the end.
In
functions.php,function my_hreflang_tags() { /* * Add hreflang tags to head */ // Get the permalink $the_old_link = get_permalink(); // Create 2 localized versions of the permalink for use in the hreflang tag $the_new_link_gb = str_replace( '/gb', '/us', $the_old_link ); $the_new_link_us = str_replace( '/us', '/gb', $the_old_link ); // Print it out echo '<!-- Hreflang tags -->'; echo '<link rel="alternate" hreflang="en-US" href="' . $the_new_link_us . '">'; echo '<link rel="alternate" hreflang="en-GB" href="' . $the_new_link_gb . '">'; } add_action( 'wp_head', 'my_hreflang_tags', 1 );Forum: Plugins
In reply to: [MultilingualPress] Automatic hreflang tagsSorry, I have worked out the issue. I was expecting the hreflang meta to show as soon as the plugin was activated, but I see that you have to manually associate posts first. Having over 300 posts, I was hoping to avoid manual work!
Forum: Plugins
In reply to: [MultilingualPress] Automatic hreflang tagsThanks for your response, Thorsten. Yes, the theme does call
wp_head()Forum: Themes and Templates
In reply to: [Theme: Arcade Basic] Unable To Change Header Image.The best thing would be to contact the theme developer: https://themes.bavotasan.com/
Forum: Themes and Templates
In reply to: [Reddle] Making Posts Summary instead of Full TextYou will need to replace
the_content()withthe_excerpt()in the relevant template.
The best way of doing this is to create a child theme: http://codex.wordpress.org/Child_ThemesForum: Reviews
In reply to: [Posts 2 Posts] One of our favorite pluginsYeah, I was going to say that too. I think it’ll go alongside ACF.
Forum: Themes and Templates
In reply to: Custom Post Type Archive links not workingAssuming you are using 3.1+, have you tried creating “archive-portfolio.php?” from archive.php? Displaying custom posts this way allows paging.
Forum: Fixing WordPress
In reply to: Excerpts not working on custom postsManaged to solve this myself. Just in case anyone else is looking for the solution, it’s basically enough to delete the content of the post_excerpt field, and, without content, the excerpt will display correctly.
I ran a “search and replace” via mySQL, using this query:UPDATE wp_posts SET post_content = REPLACE ( post_content, 'Item to replace here', 'Replacement text here');Forum: Themes and Templates
In reply to: Child theme not referencing images from parentWorking for me, too. Try clearing the cache or using private mode on your browser.
Forum: Themes and Templates
In reply to: Footer BarYou can also use the Chrome browser, which has similar developer tools built-in.
If you have problems with layout in Firefox, you’ll likely have problems across all the standards-compliant browsers. Better to start off with a class-A browser, and then add whatever additional hacks for IE later.