Blog

Log File Creation WordPress

User create and update txt log file if exist in wordpress on some occasion custom code Assistant To create and update a text log file in WordPress when a specific event occurs, you can use the following custom code. This example assumes you want to log a message when a specific action is triggered, such […]

Limit Max Upload Size

User limit max upload limit in wordpress hook Assistant You can limit the maximum upload size in WordPress using the `upload_size_limit` filter hook. Here's how you can do it: ### Add to Your Theme's `functions.php` File Add the following code to your theme's `functions.php` file or a custom plugin: function limit_max_upload_size($size) { // Set the […]

jQuery CSS Properties Example

User opacity: 1; -webkit-transform: translateX(0); transform: translateX(0); add above via jquery css Assistant To add the specified CSS properties using jQuery's `.css()` method, you can write the following code: $(selector).css({ 'opacity': '1', '-webkit-transform': 'translateX(0)', 'transform': 'translateX(0)' }); ### Example: If you want to apply these styles to an element with the ID `myElement`, use: $('#myElement').css({ […]

Remove Property from GSC

User remove property from google search console and unauthoried Assistant To remove a property from Google Search Console and revoke access, follow these steps: — ### **Remove a Property from Google Search Console:** 1. **Log in to Google Search Console**: – Go to [Google Search Console](https://search.google.com/search-console). – Sign in with your Google account. 2. **Select […]

CSP Style Block Issue

User Content-Security-Policy: (Report-Only policy) The page’s settings would block a style (style-src-elem) at https://www.postmymeds.co.uk/wp-content/themes/Divi/style-static.min.css?ver=4.27.4 from being applied because it violates the following directive: “style-src 'unsafe-inline'” Assistant The `Content-Security-Policy` (CSP) error in "Report-Only" mode indicates that the browser flagged the inline styles from `style-static.min.css` as a potential violation of the `style-src` directive. However, since it's a […]

CSP Inline Script Error

User [Report Only] Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'none' 'report-sample'". Either the 'unsafe-inline' keyword, a hash ('sha256-+kvFdkGXnrDNVfE/Bax416yeTx69CjbMp/HrWsNU2ls='), or a nonce ('nonce-…') is required to enable inline execution. Assistant The error message you're seeing is related to Content Security Policy (CSP) settings in your web application. […]

Celebrating Women’s Successes

User We should appreciate all women's that have gotten success like this even all kind of boundaries All we know our family in deep insights and we know from our hearts that how difficult for a women to get their dreams Yes their are few exceptions Correct above in more motivational Assistant We should celebrate […]

Desktop Version Progress Update

User Today We have completed all sub pages of the above for desktop version exept slider section for project as reference site We will complete slider tomorrow along with responsive version of pages Correct above sentence Assistant Here’s the corrected version of your sentence: "Today, we have completed all the subpages for the desktop version, […]

jQuery Accordion Click Resize

User .img-acc .accordion ul:hover li { width: 8%; } .img-acc .accordion ul:hover li:hover { width: 60%; } each li has background image now apply above css using jquery on each li click Assistant To achieve the functionality of resizing the `li` elements on click using jQuery, you can implement the following script. This script ensures […]

Image Processing Inquiry

User on each image Assistant Could you clarify what you mean by "on each image"? Are you referring to processing images, adding overlays, captions, or something else? Let