I'm trying to build a Shopify theme from scratch and I am new to this. I am already filtering collections using the storefront filtering. It works fine, I want to customize the collection filters to display colors as color swatches instead of text labels though. Right now, the filter is rendering the colors as text, […]
I am using Asp.net C# webform, and developing Shopify embedded app code for installation and authorization. I have created the Install and Auth (redirect callback) in ApiController. When I was using this code [System.Web.Http.AcceptVerbs("GET")] [System.Web.Http.Route("api/shopify/install")] public IHttpActionResult Install(string shop) { logger.Info("Start Install : "); //string req = string.Format("https://{0}/admin/oauth/authorize?client_id={1}&scope={2}&redirect_uri=https://{3}/api/shopify/auth", shop, AppKey, Scope, CurrentURL); var installUrl = […]
I am working on a Shopify project. In Shopify we can add navigation items, so I made a mega menu. When the user hovers on a item in the mega menu all the content inside that will be shown, but I want that to be fixed in a container where all nested items can be […]
I have a list of wares. I need to show them in a 2-dimensional list. Every ware has daughter elements: photo, title, description, price and buy button, which must be sized and positioned in this way: all titles, description, price and photo in a wares row must be at the same y-coordinate position and have […]
I'm trying to restrict public access to all files in the /wp-content/uploads/wpforms/ folder on my WordPress site, but I'm having trouble finding a solution that works. I want to make sure that only logged-in users can view or download files in this folder. I've tried various .htaccess solutions, including blocking or redirecting access, but none […]
So I'm using this plugin called Mapplic for interactive maps on wordpress and I'm trying to hide a specific class in it for everyone except admins so first i added this function to add a class for admin function add_admin_body_class($classes) { if (current_user_can('administrator')) { $classes[] = 'is-admin'; } return $classes; } add_filter('body_class', 'add_admin_body_class'); then i […]
I encountered a bug where when using the Firefox browser my WordPress site built using Elementor was looking differently. Specifically the containers had huge gaps and were on the wrong height on the page. Same issue on mobile view.
Closed. This question is not about programming or software development. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a […]
I'm facing an issue with my website audit where I'm receiving an error: "Confirmation (return) links missing on hreflang pages." My website is built using WordPress and is multilingual. I'm using Polylang and YoastSEO to manage languages, and these plugins automatically generate the hreflang tags for each language version of a page. Here is an […]
Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 12 mins ago. Improve this question The Categories filter is not working properly. In […]