ctrlaltdelete
Forum Replies Created
-
Forum: Plugins
In reply to: [Permalink Manager Lite] Both change permalink and redirect to new url?Hi sorry for delay i couldn’t try yet but i will try today. Just 1 thing before i do. Is it possible to revert the changes with the plugin or the only way is restoring a database backup?
Forum: Plugins
In reply to: [Permalink Manager Lite] Both change permalink and redirect to new url?It says “No slugs were updated!”
Forum: Plugins
In reply to: [Permalink Manager Lite] Both change permalink and redirect to new url?Ok i installed and activated that plugin.
Added the code to functions php, replacing YOUR_CUSTOM_POST_TYPE_NAME with the actual post type name.
Went to settings- permalinks and saved settings.
But it had no effect nothing changed.Forum: Plugins
In reply to: [Custom Post Type UI] Change default permalink structure for CPT?Wow me again, sorry i’ve been reading a lot and all the solutions to achieve this are hacky as hell plus always seem to break something else like page of archives giving 404.
Are you interested on creating a plugin that would basically replicate the permalinks settings but for custom post types? I’m up for donation/buying it.
Forum: Plugins
In reply to: [Permalink Manager Lite] Both change permalink and redirect to new url?Wow thanks sorry for trouble! I have never used any plugin to change urls before. So it would redirect it just doesn’t have the feature to rewrite slugs on current version. Thanks again.
- This reply was modified 8 years ago by ctrlaltdelete.
Forum: Plugins
In reply to: [Custom Post Type UI] Change default permalink structure for CPT?Gotcha i’ll look elsewhere. Thanks.
That link explains everything…
So does this plugin work or not?- This reply was modified 8 years ago by ctrlaltdelete.
Forum: Plugins
In reply to: [Invisible reCaptcha for WordPress] Possible to add it to ajax button?Message sent!
Forum: Plugins
In reply to: [Invisible reCaptcha for WordPress] Possible to add it to ajax button?Good so something like this would do? Sorry just making sure.
ajax.php
<?php define('WP_USE_THEMES', false); require_once( $_SERVER['DOCUMENT_ROOT'] . '/wp-load.php' ); global $post; $post_id = $_REQUEST["post_id"]; $content = get_field( 'ebook_link_pdf', $post_id ); $is_valid = apply_filters('google_invre_is_valid_request_filter', true); if( ! $is_valid ) { echo 'wrong captcha resolution'; } else { // continue with your logic echo ($content); }
Oh and if it is correct how do i confirm it’s actually challenging bots? since it’s invisible.
- This reply was modified 8 years, 1 month ago by ctrlaltdelete.
Forum: Plugins
In reply to: [Invisible reCaptcha for WordPress] Possible to add it to ajax button?Sorry, was my last post the correct implementation? How can i test its working properly?
Forum: Everything else WordPress
In reply to: Why wordpress use gravatars?I think Automattic has way too much power over www.ads-software.com devs.
You consider www.ads-software.com project on the bag same as wordpress.com commercial product. When it isn’t. www.ads-software.com shouldn’t rely on external services to function. Unless there is some endowment taking place i’m not aware of (probably cos it’s not being disclosed).
Plus not every self hosted blog have user registration enabled, and about people having to setup an avatar on every site. Heck, i can pretty much guarantee you that people would prefer having their own avatar/selfie/favorite character/singer/actor rather than a “funny” looking gravatar they were forced to choose form.
The functionality is already there, the media library, upload image to use as avatar wouldn’t require too much work. Yet we don’t see this, not even as an option.
My view is gravatar should be a plugin. But hey, if you guys are so fond to it for whatever reason at least make it “opt in” feature.
I’m afraid the next mod will come and close this right away to avoid taboo subjects being talked like every time someone dares to challenge www.ads-software.com decisions.
- This reply was modified 8 years, 1 month ago by ctrlaltdelete.
Forum: Plugins
In reply to: [WP-PostRatings] Adding custom classes on Post Ratings TemplatesI think instead of adding more things to the core what should be done is remove the extra schema that are unrelated to ratings. They shouldn’t be there since they can’t possibly apply to every site.
Aggregate ratings do not need: headline, description, datePublished, dateModified, url, author, mainEntityOfPage, image, publisher, name, logo, etc.
Aggreagate ratings only need: ratingValue, ratingCount.
bestRating only if different than 5. if not 5 is assumed.
worstRating only if different than 1, else 1 is assumed.https://schema.org/AggregateRating
By adding only schema related to ratings you make sure it doesn’t cause validation errors due to extra unneeded markup.
- This reply was modified 8 years, 1 month ago by ctrlaltdelete.
Forum: Plugins
In reply to: [WP-PostRatings] Adding custom classes on Post Ratings TemplatesHi, try inserting exaclty this:
<div itemprop="aggregateRating" itemscope itemtype="https://schema.org/AggregateRating"> %RATINGS_IMAGES_VOTE% <span style="font-weight:bold" itemprop="ratingValue">%RATINGS_AVERAGE%</span> out of <span itemprop="bestRating">5</span> (<span itemprop="ratingCount">%RATINGS_USERS%</span> votes)</div>%RATINGS_TEXT%
If you are wondering why i am using my own schema it’s because yours doesn’t limitate to set AggregateRating, ratingValue and bestRating (the only 3 really needed). It adds other tags that on my site come empty (“”) and that cause validation error plus i don’t want those tags since i’m making my own Custom post types template with my own schema it conflicts with them. I wish the plugin only added rating tags so i wouldn’t have to do this.
Forum: Plugins
In reply to: [Invisible reCaptcha for WordPress] Possible to add it to ajax button?Hi i don’t have form just the button. Should i change it to:
<form> <button class="acf-get-content-button">Show Link</button> <div class="fa" id="acf-content-wrapper" data-id="<?php echo $post_id; ?>"></div> <?php do_action('google_invre_render_widget_action'); ?> </form>
Is that all there is to it? Thanks!
Forum: Plugins
In reply to: [W3 Total Cache] Purge Policy for Custom Post Type ArchivesI did a bit of testing added all my CPT slugs to aditional pages.
And yes as i expected creating 1 post on say /banana/ will also clear
/apple/
/orange/
/grape/
/whatever/I wonder if there is a way that when posting a new /banana/ it clears /banana/ archives only and leave the rest alone.
You might not care about this cos it’s only a factor if you have many posts.