wapoxac
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Adding custom function() not workingPlease disregard wrapping it in the PHP tags above and instead follow corrinarusso’s suggestion above. I managed to get a “Cookies are blocked due to unexpected output” error when I attempted to log in to WordPress and had to edit the functions.php via FTP to get access again.
Forum: Developing with WordPress
In reply to: Adding custom function() not workingThanks for sharing your expertise Corrinarusso. That worked great!
There probably wouldn’t be a way to remove the original robots meta tag on just the paginated pages? So it doesn’t look this this where the original is listed first and then the injected afterwards?
<meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' /> <meta name='robots' content='noindex, follow'/>For anyone else who might benefit from this solution and know as little as me about PHP. I wrapped the code above in a PHP tag and put it in the functions.php file in WordPress > Appearance > Theme Editor > functions.php.
So it looks like this:
<?php add_action('wp_head', 'meta_fix', 1); function meta_fix() { if(is_paged()) { echo "<meta name='robots' content='noindex, follow'/>"; } } ?>Remember to use a child-theme.
Happy to help with feedback. Looking forward to the new update!
Hi @zhannak,
Thank you for your help. This time I was able to delete the verification page.
I am not sure if it made a difference, but I added a comma after the ‘show_in_nav_menus’ => TRUE statement, so the statement I used looked like this:
'show_in_menu' => TRUE, 'show_in_nav_menus' => TRUE, 'capability_type' => 'post',Great support zhannak.
hi @zhannak, any update on what I can try next?
Hi @zhannak,
We’re slowly getting there :).
I set that parameter and I’m now able to select “Move to Trash”. Once I attempt to move it to the trash, I get another error message:
“Sorry, you are not allowed to move this item to the Trash.”
What would I have to do next to be allowed moving it?
Just making sure this didn’t drop off your radar, thanks.
Hi Zhanna,
Your screenshot was helpful and FM Mail Verification is showing in WP.
When I click on it, I see the “Email Verification” page, but I am unable to delete it. I only see “Edit”, “Quick Edit” and “View”.
Hi Zhanna,
Thank you for your reply.
I went into formmaker.php (in the plug-ins folder) but wasn’t able to locate the “register_fmemailverification_cpt” function in that file. Do I need to look somewhere else?
Forum: Fixing WordPress
In reply to: Accordion Plug-inIt looks like the Ultimate Blocks plug-in will be able to do exactly what I need :).
Thank you Niall for sending links to the demo as well!
I used ‘display: inline-block;’ instead. That spans the columns and another bonus is that it is compatible with a lot more browser versions.
Thank you for your help.
Hi @zhannak,
I placed your CSS in the theme’s CSS section. It doesn’t apply the flex-direction: column;, however I tried adding just a background-color property to see if the media inquiry even worked and it applied the background-color.
Not sure why it wouldn’t apply the flex-direction: column;?