Tika Mazul
Forum Replies Created
-
Hi Esmi,
Thanks for your response.
If i change from with “www.” to without, will WordPress automatically recreate the forward from with to without, as it has already done for all these years from without to with? Do i have to meddle at all in my htaccess file, or can i let wordpress handle that aspect of it. It won’t create both and cause a problem?
I’m a little nervous as to why i get so many conflicting answers (via Googling and other forums) on the SEO aspect of this. It woudl make sense tome that it doesn’t hurt SEO at all, so long as there is the forward in place…
Thanks again in advance.
sure thing ??
Resolved ??
I realize i had “Don’t load popup theme styles to the head.” checked in my Popup Maker > Settings > Assets
Thank you for responding. I figured out a way to achieve this. I added display:block to .crp_title
I also changed my surrounding html to just <div> and </div> around the list items (instead of
- and
and deleted the
- and
completed. Is this ok to do?
Forum: Themes and Templates
In reply to: Twenty Fifteen and iPad display in landscapeI am having the same issues with 2015 theme. I See you resorted to a different theme ??
Forum: Themes and Templates
In reply to: [Theme: Twenty Fifteen] Doesn't respect iPad resolutionHey all, i know this is a slightly old thread, but i wondered if i could get some help with this same issue.
I tried the fix MrTrev suggested, and it succeeded in getting the desktop styles to display on my iPad in landscape, albeit with some sidebar movement glitches. I’m curious though what i need to add/change in my CSS in order that the portrait display still uses the mobile layout, with no sidebar. (currently it has the sidebar in portrait mode, but also with the men button there too, even though i see the full menu in the sidebar.
Thanks in advance for any heplp anyone can offer.
Forum: Plugins
In reply to: [Featured Video Plus] How to replace featured image ONLY on post pageThanks so much. This helped me resolve my issue.
Forum: Fixing WordPress
In reply to: A social sharing plugin similar to this image overlayHi! Yes, i believe it’s a tmblr site. I was hoping there might be a plugin for WP that does a similar effect…? ??
Forum: Plugins
In reply to: [Redirection] Export redirects, and what to do when changing domainYes, i really love this plugin too. I hope they post a fix/update soon.
Forum: Plugins
In reply to: [Redirection] Export redirects, and what to do when changing domainRight, i noticed that too, but haven’t had a chance to really delve into it. I thought maybe i was missing something, but there is no export function.
Forum: Plugins
In reply to: [Redirection] Export redirects, and what to do when changing domainabsolutely will proceed with caution ??
Thanks again. I’ll let you know how i get on.Forum: Plugins
In reply to: [Redirection] Export redirects, and what to do when changing domainOh wow. Thanks for the detailed explanation and advice. I will probably have to re-read it several times to make sense of it properly, but I really appreciate it.
Forum: Plugins
In reply to: [Redirection] Export my redirection fileI am also curious to know about this.
Forum: Themes and Templates
In reply to: How to creat ea custom html widgetSo far i have been able to create a custom plugin for a new custom widget with some simple html using this tutorial. This is my code:
<?php /* Plugin Name: My Widget Plugin URI: https://mydomain.com Description: My first widget Author: Me Version: 1.0 Author URI: https://mydomain.com */ // Block direct requests if ( !defined('ABSPATH') ) die('-1'); add_action( 'widgets_init', function(){ register_widget( 'My_Widget' ); }); /** * Adds My_Widget widget. */ class My_Widget extends WP_Widget { /** * Register widget with WordPress. */ function __construct() { parent::__construct( 'My_Widget', // Base ID __('My Widget', 'text_domain'), // Name array( 'description' => __( 'My first widget!', 'text_domain' ), ) // Args ); } /** * Front-end display of widget. * * @see WP_Widget::widget() * * @param array $args Widget arguments. * @param array $instance Saved values from database. */ public function widget( $args, $instance ) { echo $args['before_widget']; echo __( 'Hello, Hello World!', 'text_domain' ); echo $args['after_widget']; } } // class My_Widget
I would like to modify this line of code
echo __( 'Hello, Hello World!', 'text_domain' );
so that instead of outputting “Hello, Hello World!” to the user, it displays the following html:
<div style="text-align:center;"> <img src="mydomain.myimage1.png" style="margin:0;"/> <h3 style="background-color:#E6E6E6;margin:0 0 10px 0;">work with me</h3> <h4>My Clients Name</h4> <p style="margin:0 0 10px 0;">Expert in her field</p> <div class="sidebarButton button aqua"> <a href="https://mydomain.com/myurl">Book a consultation</a> </div> <img src="https://mydomain.myimage2.png" style="margin:0 0 10px 0;"/> </div>
But i am not sure how to modify the code? Everything i try shows code errors.
Any help greatly appreciated!
PS. I’ve tried using PRINT as follows:
print "<div style="text-align:center;"> <img src="mydomain.myimage1.png" style="margin:0;"/> <h3 style="background-color:#E6E6E6;margin:0 0 10px 0;">work with me</h3> <h4>My Clients Name</h4> <p style="margin:0 0 10px 0;">Expert in her field</p> <div class="sidebarButton button aqua"> <a href="https://mydomain.com/myurl">Book a consultation</a> </div> <img src="https://mydomain.myimage2.png" style="margin:0 0 10px 0;"/> </div>";
and EOM as follows:
<<<EOM <div style="text-align:center;"> <img src="mydomain.myimage1.png" style="margin:0;"/> <h3 style="background-color:#E6E6E6;margin:0 0 10px 0;">work with me</h3> <h4>My Clients Name</h4> <p style="margin:0 0 10px 0;">Expert in her field</p> <div class="sidebarButton button aqua"> <a href="https://mydomain.com/myurl">Book a consultation</a> </div> <img src="https://mydomain.myimage2.png" style="margin:0 0 10px 0;"/> </div> EOM;
neither of which work ??
UPDATE: By process of elimination i am discovering it may be the CSS inline styles that it doesn’t like…?
SUCCESS: Turns out i needed to use single quotes instead of double for my print output, like this:
print '<div style="text-align:center;"> <img src="mydomain.myimage1.png" style="margin:0;"/> <h3 style="background-color:#E6E6E6;margin:0 0 10px 0;">work with me</h3> <h4>My Clients Name</h4> <p style="margin:0 0 10px 0;">Expert in her field</p> <div class="sidebarButton button aqua"> <a href="https://mydomain.com/myurl">Book a consultation</a> </div> <img src="https://mydomain.myimage2.png" style="margin:0 0 10px 0;"/> </div>';
It works! ?? Is this OK though? Or bad practice? (Besides the fact that i can clean up my styling and use classes instead, is it ok to use single quotes here to achieve correct output?)
Forum: Fixing WordPress
In reply to: Suddenly custom permalinks not working (reverts to numeric)UPDATE:
The above fix did not work on a permanent basis, and each time i had t reset the permalinks to default, and then back to
https://www.mywebsite.com/archives/%postname%
and then a short while later the custom permalinks would not be working again, and there would be lots of 404 errors. Rinse and repeat to no end.
I finally discovered that I think the following plugin is the culprit:
SEO Slugs WordPress Plugin
It seems when i deactivate this plugin, the site stays intact. I don’t know what happened to suddenly make this plugin cause problems, since I’ve had it for years and all has been fine until recently. It could be because of recently installed additional plugins: Worpdress SEO and UpdraftPlus Backup. Maybe they are incompatible and cause problems, or maybe it’s something in the newly updated WordPress core?
Anyway, i deactivated the SEO Slugs WordPress plugin and it seems to be working ok.