ProgressionStudios
Forum Replies Created
-
Forum: Plugins
In reply to: [Easy Google Fonts] New version is not backwards compatible?Nope, everything is working without the prefix. You can omit the prefix as I can just remove it with a simple find/replace.
Thanks again for being so prompt and helpful.
Forum: Plugins
In reply to: [Easy Google Fonts] New version is not backwards compatible?Wow, thanks for working on this so quickly. I can confirm the section and controls are showing up properly.
Minor Fixe if possible:
1) The section id used to add a prefix of ‘tt_font_’ to the naming convention. Can you add that in so that the old id’s match?
Example: $tabs[‘progression-studios-default-headings’]
The prior version would add a prefix to the tab id like so automatically: tt_font_progression-studios-default-headingsLet me know if you can add that minor tweak. Other than that I’ve done a ton of tests and it’s working as expected.
Leaving a 5 star review right now.
- This reply was modified 3 years, 8 months ago by ProgressionStudios.
Forum: Plugins
In reply to: [Easy Google Fonts] New version is not backwards compatible?Yes, I tested this with version 2.0.2 and it does not work. I can confirm it does work in version 1.4.4
Panel) I added a panel called “Typography New” and this shows up (Standard filter
‘customize_register’)Section) I expect a section called “Default Text & H1-H6 Headings” to show up
Controls) In this section I expect these controls:
– Body Font
– Heading 1
– Heading 2
– Heading 3 etc.
Screenshot of previous version: https://progressionstudios.com/wp-content/uploads/2021/07/Version1.4.4.pngExample:
https://www.dropbox.com/s/j08vxfsxzvhd6iq/typography-controls-updated.zip?dl=0
(This is a simplified example but covers the two $tabs and $controls functionality)- This reply was modified 3 years, 8 months ago by ProgressionStudios.
Forum: Plugins
In reply to: [Easy Google Fonts] New version is not backwards compatible?I updated but unfortunately it did not fix the issue. No custom controls or panels are loading that worked with the previous version.
Forum: Plugins
In reply to: [Easy Google Fonts] New version is not backwards compatible?Unfortunately that code did not work. I received some errors like the one below:
Notice: Undefined index: default in easy-google-fonts/src/includes/settings.php on line 334I’ve updated the file with the code added and both the panel & section. That way you can copy all of the code to a functions.php file for a quick test. This adds a new panel of “Typography New” with a color example. Just trying to get add panels/font controls that worked in the previous version. Seems like it’s pretty close.
Updated Example: https://www.dropbox.com/s/j08vxfsxzvhd6iq/typography-controls-updated.zip?dl=0
Forum: Plugins
In reply to: [Easy Google Fonts] New version is not backwards compatible?Sure, here is a simplified example of removing the default heading/body tags.
Then adding a new section “Default Text & H1-H6 Headings” within the panel with an id of “progression_studios_typography_panel”.
PHP File: https://www.dropbox.com/s/iabqn25deut24ze/typography-controls.php.zip?dl=0
Ps. Thanks for the quick response!
Forum: Plugins
In reply to: [Breadcrumb NavXT] bcn_display_list no longer a list in v6.0.1Wow, you guys rock. Keep up the great work!
Forum: Developing with WordPress
In reply to: Issue displaying video from custom metaThanks for the example! This should make for an okay work-around but it still limits many examples and options.
Ideally there would be a way to replicate the functionality of
<?php echo apply_filters(‘the_content’ get_post_meta($post->ID, 'video_field', true)); ?>
but with a custom filter so I don’t have to use the_content. The above solution works for oembeds, .mp4 links, and manually adding in embed code (Offering support for any third party video source). The solution above only works with ombeds and .mp4 links.Forum: Developing with WordPress
In reply to: Issue displaying video from custom metaThanks for the reply.
What I need is to paste a video link like so in a custom meta field:
https://youwebsite.com/wp-content/uploads/video.mp4
Then have it output the video. This works when using
<?php echo apply_filters(‘the_content’ get_post_meta($post->ID, 'video_field', true)); ?>
However I need to figure out how to do this without using the_content call as it breaks many plugins that look for this line. Any filters I can use for this that work with locally hosted videos? I know this is possible since it works with the_content call but I haven’t found a solution after searching online.
- This reply was modified 7 years, 11 months ago by ProgressionStudios.
- This reply was modified 7 years, 11 months ago by ProgressionStudios.
Forum: Fixing WordPress
In reply to: EditorI recommend checking with them as this is likely what is going on. I don’t have any specific experience with using 1&1.
Forum: Fixing WordPress
In reply to: EditorThis is probably a limitation from your hosting provider. I would check with your hosting provider as sometimes they limit the permissions so you cannot edit files directly in WordPress. In order to edit the files you will need to login via FTP.
Thanks for the quick reply! Unfortunately the wp_oembed_get doesn’t work with locally hosted videos. Therefore I’m stuck using the apply_filters as it is a key part of the theme.
Is there anyway to check if the frontend editor is open and to skip a bit of code? A simple if statement would be great and work as an alternative.
Additional Information on issue:
I’m having trouble enqueuing scripts and styles. I setup a simple CSS file that forces the background red for testing. This works when viewing the frontend; however when I view the backend the style-sheet does not get loaded. What is the proper way to enqueue script/styles?
Screen-shot Front-end showing style-sheet applied: https://i.imgur.com/QaN9UGO.png
Screen-shot showing missing style-sheet when editor open (No Red Background): https://i.imgur.com/gYk2xQY.pngCode being used:
add_action( 'elementor/frontend/before_enqueue_scripts', function() { wp_enqueue_style( 'example-frontend-styles' ); } );
Second Question: Is there code to enqueue CSS/JS per widget/element? I tried using wp_enqueue_style within the protected function render() {} which worked on the front-end but again didn’t work when viewing using the elementor editor. Same issue as above.
- This reply was modified 7 years, 11 months ago by ProgressionStudios.
Forum: Plugins
In reply to: [CMB2] How to add cmb2 in WordPress TaxonomiesThe update looks really great after checking it out on github. Do you guys have an ETA on when the latest release will be updated on www.remarpro.com?
https://github.com/WebDevStudios/CMB2/blob/trunk/CHANGELOG.mdForum: Plugins
In reply to: [CMB2] Theme Customizer Bug – Featured ImageSorry about that, yeah I’m having trouble replicating the issue now. If I can replicate it, I will post again with more information and a better example. I will mark this thread as closed fro now.