jameshallow1
Forum Replies Created
-
Not sure why he hasn’t replied back.. though i just wanted to say i was looking for the exact same thing and the code works perfectly ??
thanks!btw for users out there as stated above put the .php file in the plugins folder not inside “Default featured image” folder or it will detect it as an old version of the plugin and requests you to update it.
- This reply was modified 3 years, 3 months ago by jameshallow1.
Hi Mike,
Just following up as I still haven’t heard from anyone through emails.
Thank you
Hello,
Thank you for your reply.
I’m using the latest version 1.5.4The short url is replacing the post url on all the site (grid layout blocks, related posts block, etc.)
I’m using Avada Theme.I’ll contact you by email for sure.
Thanks again.
sure with pleasure!
Found all these features under Default settings!
Awesome plugin!! job well done guys.
Forum: Plugins
In reply to: [Default Featured Image] Disable “Default featured image” on pagesHello,
Just wanted to let you know that i found a way to turn off the first featured image in Avada using the content in the page edit.
there was no need to use your code though thanks a lot for it as it will help as a future reference.Best Regards!
Forum: Plugins
In reply to: [WPMobile.App] OneSignal Push NotificationAwesome! these totally fixed my problems =)
Last question:
i see “Send a push notification” box in the “add new post” page, does this option allow me to choose whether to send this new post as push notification or not?Mainly what i want is adding new post regularly and only send a push notification on a specific one that i choose.
Thanks!
Forum: Plugins
In reply to: [WPMobile.App] OneSignal Push NotificationAwesome!
I tried the WPMobile.App, i have two questions if i may:
1. No images are showing on the mobile app, any idea why?
2. Home page is coming on empty.. only “Home” written on it. upon checking my Home page in the admin panel it is indeed empty. I’m using Newsever Pro Theme.Forum: Plugins
In reply to: [WPMobile.App] OneSignal Push Notificationoh ok thanks for your reply!
what do you suggest to use instead so its compatible with your plugin?Forum: Fixing WordPress
In reply to: Admin Control Panel language changes Post text allignment as wellSolved! It worked as follows:
style-editor.CSS File:
* {direction: rtl;}
functions.PHP File:
function wpdocs_theme_add_editor_styles() { add_theme_support( 'editor-styles' ); add_editor_style( 'style-editor.css' ); } add_action( 'after_setup_theme', 'wpdocs_theme_add_editor_styles' );
- This reply was modified 4 years, 7 months ago by jameshallow1.
Forum: Fixing WordPress
In reply to: Admin Control Panel language changes Post text allignment as wellI tried doing it with !important but it still wouldn’t work.
As per your suggestion i did inspect the element and there was no direction:rtl. here is a screenshot of the Inspect Element:
https://ibb.co/28CdyP0Just for testing purposes i added the direction: rtl (without important) to .editor-styles-wrapper using the inspect element and it worked..
So the problem is that its not getting the direction: rtl from the new css file.
To recap:
The code was added to the functions.php found in the root folder of my theme.
The .css file was added to the root folder of my themeI am using the default editor (Gutenberg) that comes with the latest wordpress version.
Screenshot of the editor: https://ibb.co/ZV12csxFound this just now: https://github.com/WordPress/gutenberg/issues/7913
I’m not sure if its related to the problem I’m facing. are you using Gutenberg as well?- This reply was modified 4 years, 7 months ago by jameshallow1. Reason: added editor screenshot
- This reply was modified 4 years, 7 months ago by jameshallow1.
- This reply was modified 4 years, 7 months ago by jameshallow1. Reason: Gutenberg
Forum: Fixing WordPress
In reply to: Admin Control Panel language changes Post text allignment as wellwrongly reported that its working
- This reply was modified 4 years, 7 months ago by jameshallow1.
Forum: Fixing WordPress
In reply to: Admin Control Panel language changes Post text allignment as wellThanks a lot for your help! i really appreciate it.
I added the below to functions.php:
function wpdocs_theme_add_editor_styles() { add_editor_style( 'editor-style.css' ); } add_action( 'admin_init', 'wpdocs_theme_add_editor_styles' );
It did not “break” wordpress.
then created a file called editor-style.css in my theme root folder, and wrote the below code in it:
* {direction: rtl;}
However it did not have any effect, the text alignment is still LTR in post-new.php (new post)
- This reply was modified 4 years, 7 months ago by jameshallow1.
Forum: Fixing WordPress
In reply to: Admin Control Panel language changes Post text allignment as wellI tried adding the below as well to functions.php:
https://i.ibb.co/BVgy8ML/Capture.pngand creating a custom-editor-style.css in my theme root folder with the below CSS Code:
* {direction: rtl;}
with the same result…
addingadd_theme_support('editor-styles');
is breaking wordpress.To recap what i need is to only make the title field and “post/text” paragraph aligned for RTL as per the wordpress language set (which is RTL):
https://ibb.co/2d7VTBz (those by default/automatically aligned to RTL instead of LTR)- This reply was modified 4 years, 7 months ago by jameshallow1. Reason: adding info
Forum: Fixing WordPress
In reply to: Admin Control Panel language changes Post text allignment as wellYes that’s what I want.
you said:
First enable editor styling in functions.php:
add_theme_support('editor-styles');
Adding that to functions.php made the site inaccessible (something went wrong with wordpress message)