Seba Ocano
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom Plugin (mu-plugins) IssueHi @hemasusi, what about enabling debug mode on the wp-config file ?
Forum: Developing with WordPress
In reply to: Header image doesn’t displayWhat about creating that “search for tickets” using HTML instead of using an image?
Forum: Fixing WordPress
In reply to: WPbakery – Blog Masonry and Grid – posts are invisibleOk, I have checked in your website, and it is normal to not have lines, because the file is written in just 1 line for optimization.
I will suggest you to add this code as custom CSS, without the need to edit the main CSS file.
Go to Themes > customize (on the current selected theme) > add custom CSS (at the bottom left) and then add this code.
.blog-shortcode .wf-cell, .blog.layout-grid .wf-container.description-under-image .wf-cell, .grid-masonry .wf-cell, .iso-grid .wf-cell, .iso-item, .portfolio-shortcode .wf-cell, .shortcode-blog-posts .wf-cell { opacity:1 }
As you can see it here, the opacity has value 1 (visible).
Let me know if you need more help.
Forum: Developing with WordPress
In reply to: Header image doesn’t displayI’m not sure how to help, seems a very specific problem of the template, maybe you can ask for support in the developer forums.
Forum: Fixing WordPress
In reply to: Double page /type/image/What about this plugin? It is used to remove old slugs, maybe there is the problem.
https://www.ads-software.com/plugins/remove-old-slugspermalinks/
Forum: Developing with WordPress
In reply to: Header image doesn’t displayCan you try removing the a?
Like this:
<style type=”text/css”>.site-title { background: url(https://www.londontheatre1.com/wp-content/uploads/2022/11/cropped-Cabaret-London270.jpg) no-repeat !important; }</style>
Forum: Developing with WordPress
In reply to: Header image doesn’t displayThere is no image on the fronted code, unfortunately it is a premium theme and I can not download to keep researching, I suggest you to check the function that generates the logo.
If not, an easy solution would be to add the new image logo using CSS, just add it as custom CSS in the theme configuration using the classes, for example you can use the class site-header to add the new logo image that you need to previously upload.
Forum: Developing with WordPress
In reply to: Header image doesn’t displayCould you put an image, so I can see the problem on the website?
Forum: Fixing WordPress
In reply to: Custom Plugin (mu-plugins) IssueMmm, there is no error detail, maybe you can check another log?
if not, can you print the $sql variable and try to executed on phpmyadmin to receive a more detailed error?
- This reply was modified 2 years, 4 months ago by Seba Ocano.
Forum: Fixing WordPress
In reply to: Custom Plugin (mu-plugins) IssueMmm, I think I was not clear, I mean not query at all and just use an arbitrary value. If doing this works with good performance we will now that this query is causing the problems
Forum: Fixing WordPress
In reply to: class is-style-regular in wp:table broken since 6.1.1 updateThis is the css code that I found on styles.css (from the template) maybe you can add it as custom css to do a quick fix.
/* Tables ------------------------------------ */ table { border-collapse: collapse; border-spacing: 0; empty-cells: show; font-size: 0.9em; margin: 30px 0; width: 100%; } tbody { border-top: 1px solid #ddd; } thead + tbody { border-top: none; } th, td { padding: 2%; margin: 0; overflow: visible; line-height: 120%; border-bottom: 1px solid #ddd; } caption { color: #444; text-align: center; padding: 2%; } thead { vertical-align: bottom; white-space: nowrap; } th { font-weight: bold; color: #444; }
Forum: Fixing WordPress
In reply to: Custom Plugin (mu-plugins) Issuetoo bad you can not change to Innodb,
just to be sure, can you return a number value instead of doing the count(*) here https://prnt.sc/rtcaMBwU2ME4 ?
lets say 15000 and check, if it still not works well we can keep checkign the rest of the code.
Forum: Fixing WordPress
In reply to: Double page /type/image/and what about a post? also, maybe you can query on phpmyadmin and check if there is some old post or old page using that slug (it is just an idea.)
here is a screenshot about it:
https://prnt.sc/silc4kmHJ-3aAlso, try this before, just in case, its too easy and fast:
Step 1: In the WordPress admin area, go to “Settings > Permalinks”
Step 2: Click “Save Changes”
Step 3: Permalinks and rewrite rules are flushed.And, finally another option is to check this plugin that deletes old slugs:
https://www.ads-software.com/plugins/remove-old-slugspermalinks/Forum: Everything else WordPress
In reply to: How can I add custom field in single product??Hi @xihad1, I reccomend you to use ACF plugin, its free and you can add a custom field very easy.
This is an oversimplification, but it would be something like:
Add new field group, select the post type (in your case product) and then you add the kind of field you want (number, text, url, etc…). This is all you need for the backend.For the fronted, if you are using text or number you can use a simple shortcode like this:
This is a story about a boy named [acf field="name"]. He is [acf field="age"] years old.
More documentation:
https://www.advancedcustomfields.com/resources/shortcode/And if you need other types of fields, you need to edit the template files and add the code using the function get_field.
The code would look like this:
$value = get_field( "text_field" );
You have documentation about this function here:
https://www.advancedcustomfields.com/resources/get_field/Let me know if you need any more help.
Forum: Fixing WordPress
In reply to: WPbakery – Blog Masonry and Grid – posts are invisibleI found that there is a css property that is making all posts invisible, check the file main.min.css on the line 18768 and comment the opacity:0; line and check again by refreshing and using ctlr + f5 (to delete chached files).
This is the code that you should see:
.blog-shortcode .wf-cell, .blog.layout-grid .wf-container.description-under-image .wf-cell, .grid-masonry .wf-cell, .iso-grid .wf-cell, .iso-item, .portfolio-shortcode .wf-cell, .shortcode-blog-posts .wf-cell { opacity:0 }