ryansantschi
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress v6.2.1 Breaks the Shortcode Block in TemplatesSeveral of my large current projects broke. Currently, without creating a whole custom block it is very challenging to have custom queries that include custom fields. One way to do this is roll a custom WP_Query and add a shortcode to a archive-cpt template. Secondly, for the plugin FacetWP the filters/facets are added through shortcodes in the archive templates where they are used. This no longer works either. I think FSE requires easier query data manipulation in the query block (custom fields, etc) and some other mechanism for query filtering controls before we remove the capacity for shortcodes.
Prior to this issue (which has affected some big projects this week) I was actually thinking about the possibility of the shortcode block becoming more powerful in the FSE world by becoming a white label block for custom php-driven functions. Like a movable action hook that site developers could, in the ui, create an action that custom code could tie into. It would be an amazing way to allow flexibility for dynamic code customization with the familiarity of add_action…
Forum: Developing with WordPress
In reply to: Add fallback image to cover video on mobileThough I don’t have an exact answer… they’re asking if there is a way with the “cover block”. Doesn’t matter what theme. Is there a way to have a fallback image for mobile resolutions if using a video with the cover block? That’s the question. I imagine an option would be using block filters and adding a second image upload to the cover block that loads regardless of the resolution then lazy load the video. There are also some plugins that attempt to help with Pagespeed and UX in regards to video in the repository: Lazy Load for Videos for example.
Forum: Plugins
In reply to: [Bilingual Linker] Plugin Enqueues scripts from other pluginsThanks!
Your parent theme twenty-twelve is a mobile first layout (styles are declared for small-screen view and as media queries deal with larger screens). Your child them Revision Courses is desktop first (styles declared for big-screen view and media queries deal with smaller screens).
So Twenty-twelve has styles kicking in once it is bigger than 600px and the child theme has different styles kicking in once its smaller than 770px. All the style changes that are happening at 600px (
@media screen and (min-width: 600px)
) in twenty-twelve need to be redeclared in your child theme’s style and kind of undone by declaring the values those menu elements had before the@media screen and (min-width: 600px)
. An example would be parent theme’s style@media screen and (min-width:600px){ .main-navigation li a{ display: inline-block; ...}}
needs to be declared and changed in child them@media screen and (min-width:600px){ .main-navigation li a{ display:block;...} }
Once you’ve undone the style changes the parent theme was adding at
min-width:600x;
you need to re-declare them where you want e.g.@media screen and (min-width:725px){ .main-navigation li a{ display:inline-block;...} }
Best keep to child themes that are mobile first if the parent theme is.
Forum: Fixing WordPress
In reply to: Comment Box Missing?!Looks like the comments are working with your current theme. I’m not sure why the comments would be turning on/off. Very strange.
Forum: Fixing WordPress
In reply to: How to migrate one blog in multisite install to a single install?You are wanting to export the database (from a single Multisite install) and import in on a single install (not multisite) right? Check that link. Further down someone links to a how-to that is basically the opposite but it explains what you need to do. Export the database through phpmyadmin and then import it and do a search and replace for prefixes.
Forum: Fixing WordPress
In reply to: How to migrate one blog in multisite install to a single install?I would check this previous question and answer first: Here
Forum: Fixing WordPress
In reply to: Comment Box Missing?!Not sure why they would suddenly change but try logging in and going to Settings – Discussion and make sure Anyone posts a comment. Look at the other settings as well
Forum: Fixing WordPress
In reply to: Can't Create a New MenuUnder Theme Locations on the top left does it say how many menus your theme supports? It almost seems like javascript is turned off
Forum: Fixing WordPress
In reply to: Can't Create a New MenuWell there are three steps.
1. You Add a New Menu Name (what you are describing). 2. You have to add items to your menu (from Pages, Categories on the left) then click save menu. 3. You add it to one of your theme locations (usually Primary or Secondary) on top left.After the first step when you click the + sign, add a menu name then click Save Menu is there a tab at the top with the name you gave the menu?
Forum: Fixing WordPress
In reply to: Site looks different on MacIts covering the text on IE (a little bit), Chrome (completely) on my windows 8 machine. So the issue is bigger than safari/mac
Forum: Fixing WordPress
In reply to: Hyperlinking to a pdf or word docAdd the image to a post. Click on it. Then click on Insert/Edit Link. or press Alt + Shift + ‘A’. Then put any link you want (to video, pdf, whatever) in there. Click ‘Open link in a new window/tab’ and it will
Forum: Fixing WordPress
In reply to: Front Page Slider & Graphics Suddenly Not VisibleLooks like you got it working!
Forum: Fixing WordPress
In reply to: Front Page Slider & Graphics Suddenly Not VisibleI haven’t used this plugin but I believe it might help. Look at the below options first
Make sure the url are correct in Settings – General
Mare sure there isn’t anything in the path in Settings – MediaForum: Fixing WordPress
In reply to: My 404 Page is possessed!Looks like the right style sheet is loaded. Here’s your problem on your style.css:
.error404 .widget { float: left; width: 33%; }
When your 404 page loads in gives the body a error404 class. In your css you have an error404 .widget class that gives a width of 33%. Remove that (the width value) and your 404 menu will look the same.