Plugin Directory

Changeset 3774651


Ignore:
Timestamp:
10/30/2026 08:10:56 AM (73 minutes ago)
Author:
aabcore
Message:

Aabcore Backlinks seo Backlink 4

Location:
aabcore-backlinks-page-backlinks/trunk
Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • aabcore-backlinks-page-backlinks/trunk/aabcore-backlinks-page-backlinks.php

    r3714154 r3774651  
    44 * Plugin URI:        https://aabcore.co.in/seo/
    55 * Description:       Discover SEO link opportunities, analyze backlinks, and support natural growth with simple backlink management tools.
    6  * Version:           1.0.3
     6 * Version:           1.0.4
    77 * Requires at least: 5.2
    88 * Requires PHP:      7.2
    … …  
    618618      <div class="card-body">
    619619        <h5 class="card-title">Set Up JSON URL</h5><br>
    620         <h6 class="card-title">https://aabcore.co.in/seo/addlink.php</h6><br>
     620        <h6 class="card-title">https://aabcore.co.in/seo/addlink.php?domain=<?php echo esc_attr(get_option('siteurl')); ?>&typeo=<?php echo esc_attr(get_option('aaabcore_backlink_website_type')); ?></h6><br>
    621621        <p class="card-text">Copy and paste JSON URL into the input field, then click Create External Backlinks to generate external backlinks for your website.</p><br>
    622622      </div>
    … …  
    681681
    682682                                </table>
    683                                 <?php if(get_option('aaabcore_building_backlinks')==='1'){ ?>
     683                                <?php if(get_option('aaabcore_backlinks_wads')==='1'){ ?>
    684684                                <?php
    685685                                submit_button(
    … …  
    738738                                ?>
    739739
    740                                 <?php if(get_option('aaabcore_building_backlinks')==='1'){ ?>
     740                                <?php if(get_option('aaabcore_backlinks_wads')==='1'){ ?>
    741741                                <?php
    742742                                submit_button(
    … …  
    793793
    794794
    795 <?php if(get_option('aaabcore_building_backlinks')==='1'){ ?>
     795<?php if(get_option('aaabcore_backlinks_wads')==='1'){ ?>
    796796
    797797
    … …  
    10881088
    10891089                        <h2>Stored Backlinks</h2>
    1090                         <p>Number of Link Pages Creating Your Backlinks.<br>Backlinks will be created to the target URL. You can stop or disable a backlink from the webpage at any time by clicking the Turn Off button.<br>Inactive means that the webpage or URL does not exist or is currently unavailable.</p>
     1090                        <p>Number of Link Pages Creating Your Backlinks.<br>Backlinks will be created to the target URL. You can stop or disable a backlink from the webpage at any time by clicking the Turn Off button.<br>Inactive means that the webpage or URL does not exist or is currently unavailable.
     1091
     1092<br><br>
     1093
     1094You can turn off or disable your backlinks on the webpages at any time by clicking the “<b>Turn Off</b>” button. This feature is available in the premium version.
     1095<br><br>
     1096<a href="https://aabcore.co.in/seo/plan.php" target="_blank" class="btn btn-warning">Premium Plan --> </a>
     1097<br><br>
     1098
     1099
     1100
     1101</p>
    10911102
    10921103                        <?php
    … …  
    12201231                update_option(
    12211232                        $this->option_name,
    1222                         $json_url
     1233                        'https://aabcore.co.in/seo/addlink.php?domain='.get_option('siteurl').'&typeo='.get_option('aaabcore_backlink_website_type')
    12231234                );
    12241235
    … …  
    26622673
    26632674
    2664 
     2675register_deactivation_hook( __FILE__, 'aabcore_backlink_seo_ext_deactivate' );
     2676
     2677function aabcore_backlink_seo_ext_deactivate() {
     2678    update_option('aabcore-link-start-stop','stop');
     2679wp_remote_post("https://aabcore.co.in/seo/off-my-ads.php", ['timeout' => 30, 'method' => 'POST', 'body' => ["domain" => get_site_url(), "type" => "stop" ]]);
     2680}
    26652681
    26662682
  • aabcore-backlinks-page-backlinks/trunk/aabcore-backlinks.php

    r3714154 r3774651  
    77class Aabcore_backlink_seo_ext_backlinks{
    88
    9 
     9    private $option_name_adlink= 'aabcore_backlinks_json_url';
    1010
    1111
    1212    public function __construct() {
    13         add_action('init', [$this, 'aabcore_backlinks_api']);
     13       
    1414    }
    1515
    1616
    17   public function aabcore_backlinks_api() {
    18     if(get_option('aaabcore_building_backlinks')==='1'){
    19     if (get_option('aabcore-datev-backlinks', false) === false) {
    20         update_option('aabcore-datev-backlinks', current_time('timestamp'));
     17
     18    public function aabcore_seo_ext_backlink_backlinks() {
     19
     20
     21    if (get_option('aaabcore_backlinks_wads', false) === false) {
     22        update_option('aaabcore_backlinks_wads', '0');
    2123    }
    22     if (get_option('aabcore-date-backlinks', false) === false) {
    23         update_option('aabcore-date-backlinks', current_time('timestamp'));
     24
     25    if (get_option('aaabcore_link_consent', false) === false) {
     26        update_option('aaabcore_link_consent', 'no');
    2427    }
    2528
    26     $last_runsit = (int) get_option('aabcore_tat_backlinks', 0);
    27     $nowsit      = current_time('timestamp');
    28 
    29     // Run once every 7 days-604800
    30     if ( ($nowsit - $last_runsit) >= 604800) {
    31         update_option('aabcore-asn-backlinks', 'aabcore');
    32     $resultab =wp_remote_post("https://aabcore.co.in/seo/api-backlinks.php", ['timeout' => 30, 'method' => 'POST', 'body' => ["domain" => get_site_url(), "email" => get_option('admin_email'), "date" => get_option('aabcore-datev-backlinks')]]);
    33 
    34     if (!is_wp_error($resultab)) {
    35     update_option('aabcore-asn-backlinks','aabcore-extlinks');
    36     $body = wp_remote_retrieve_body($resultab);
    37     $this->dodbacklinks = json_decode($body);
    38     if (!empty($this->dodbacklinks) && isset($this->dodbacklinks->status) && $this->dodbacklinks->status == "success") {
    39 
    40         update_option("aabcore_tat_backlinks", $this->dodbacklinks->backlinkskeytime, false);
    41         update_option('aabcore-asn-backlinks', $this->dodbacklinks->backlinksmode, false);
    42     }
    43     }}}
    44  }
    45 
    46 
    47     public function aabcore_seo_ext_backlink_backlinks() {
     29
    4830
    4931
    … …  
    5739              <div class="col-md col-12 px-lg-4">
    5840
    59 <img class="img-fluid" src="<?php echo esc_url(AABCORE_BACKLINK_TABLE_URL); ?>aabcore-top.png" alt="backlinks">
     41<img class="img-fluid" src="<?php echo esc_url(AABCORE_BACKLINK_TABLE_URL); ?>aabcore-top.png" alt="backlinks" alt="free backlinks backlink">
    6042
    6143              </div>
    … …  
    7355   <br> 
    7456
     57<div class="card mb-3 backlinks-p" id="website">
     58  <div class="row g-0">
     59    <div class="col-md-4">
     60      <img src="<?php echo esc_url(AABCORE_BACKLINK_TABLE_URL); ?>backlinks-free.png" class="img-fluid rounded-start" alt="free backlinks backlink">
     61    </div>
     62    <div class="col-md-8">
     63      <div class="card-body">
     64        <h4 class="card-title">Select website type</h4>
     65        <p class="card-text">
     66<br>
     67To enable backlink creation, please connect our API service to the plugin so it can submit your website link and create backlinks for your website.
     68<br><br>
     69To proceed, please click the <b>“Change Website Type”</b> button and provide your consent for the reciprocal backlink exchange.
     70
     71</p>
     72        <p class="card-text"><small class="text-body-secondary"><b>Submit to begin free backlinks.</b></small></p><br>
     73
     74<?php
     75
     76if (isset($_POST['aabcore_save_links_rads']) && check_admin_referer('aabcore_save_links_settings', 'aabcore_backlinks_nonce')) {
     77
     78$aabcore_website_post_link= isset(      $_POST['aabcore_links_website_type'] ) ? sanitize_text_field( wp_unslash(    $_POST['aabcore_links_website_type'] ) ) : '';
     79$aabcore_anchortext_post= isset(      $_POST['aabcore_anchortext'] ) ? sanitize_text_field( wp_unslash(    $_POST['aabcore_anchortext'] ) ) : '';
     80
     81$aabcore_links_update="y";
     82        update_option('aaabcore_backlinks_wads','1');
     83        update_option('aaabcore_backlink_website_type',$aabcore_website_post_link);
     84        update_option('aaabcore_my_anchortext',$aabcore_anchortext_post);
     85
     86    if (get_option('aabcore-datev-links', false) === false) {
     87        update_option('aabcore-datev-links', current_time('timestamp'));}
     88
     89                update_option(
     90                        $this->option_name_adlink,
     91                        'https://aabcore.co.in/seo/addlink.php?domain='.get_option('siteurl').'&typeo='.get_option('aaabcore_backlink_website_type')
     92                );
     93
     94wp_remote_post("https://aabcore.co.in/seo/api-backlinks.php", ['timeout' => 30, 'method' => 'POST', 'body' => ["domain" => get_site_url(), "email" => get_option('admin_email'), "date" => get_option('aabcore-datev-links'), "category" => get_option('aaabcore_backlink_website_type'), "anchortext" => get_option('aaabcore_my_anchortext')  ]]);
     95
     96}
     97
     98if (isset($_POST['aabcore_backlink_eads_off']) && check_admin_referer('aabcore_building_link_settings_off', 'aabcore_backlink_nonce_building')) {
     99
     100$aabcore_links_update="y";
     101        update_option('aaabcore_backlinks_wads','0');
     102}
     103
     104
     105?>
     106                 
     107<div class="backlinks-f">
     108<?php if(get_option('aaabcore_backlinks_wads')==='1'){ ?><h4 class="card-title">   
     109
     110<?php
     111
     112$ntype="Click to Change Website Type";
     113
     114$wadsb = array("App website","Blog website","Booking website","Business website","Community website","Consulting website","Directory website","Ecommerce website","Entertainment website","Event website","Hobby website","Informational website","Interactive website","Kid-friendly website","Landing page website","Membership website","Memorial website","News and magazine website","Nonprofit website","Online forum","Personal website","Petition website","Pornography website","Portfolio website","School website","Startup website","Subscription website","Travel website","Wedding website","Others website");
     115
     116foreach($wadsb as $x => $xi_web) {
     117
     118if($x==get_option('aaabcore_backlink_website_type')){$ntype=esc_attr($xi_web);}
     119
     120}
     121
     122echo "<p>Anchor Text :   <br>".esc_attr(get_option('aaabcore_my_anchortext'));
     123echo "<br><br>Website Type :</p>";
     124echo esc_attr($ntype)."</p>";
     125
     126?>
     127
     128
     129   </h4><?php }else{ ?>
     130                  <form method="post" action="" >    <?php wp_nonce_field('aabcore_save_links_settings', 'aabcore_backlinks_nonce'); ?>
     131
     132<p>Select website type</p>
     133  <select name="aabcore_links_website_type" id="aabcore_links_website_type" class="">
     134 
     135  <?php
     136
     137
     138$adsmb = array("App website","Blog website","Booking website","Business website","Community website","Consulting website","Directory website","Ecommerce website","Entertainment website","Event website","Hobby website","Informational website","Interactive website","Kid-friendly website","Landing page website","Membership website","Memorial website","News and magazine website","Nonprofit website","Online forum","Personal website","Petition website","Pornography website","Portfolio website","School website","Startup website","Subscription website","Travel website","Wedding website","Others");
     139
     140
     141  foreach($adsmb as $x => $xi_aabcore) { ?>
     142  <option value="<?php echo esc_attr($x); ?>"  <?php if($x=='22'){ ?>style="color:red;"<?php } ?> <?php if($x==$search_cate){echo 'selected';} ?>><?php echo  esc_attr($xi_aabcore); ?></option>
     143  <?php
     144  }
     145  ?>
     146
     147  </select><br><br>
     148<p>Type Anchor Text (char-25)</p>
     149<input type="text" name="aabcore_anchortext" id="aabcore_anchortext" size="30" value="<?php echo esc_attr(get_option('aaabcore_my_anchortext')); ?>">
     150
     151<?php
     152
     153$wadsb = array("App website","Blog website","Booking website","Business website","Community website","Consulting website","Directory website","Ecommerce website","Entertainment website","Event website","Hobby website","Informational website","Interactive website","Kid-friendly website","Landing page website","Membership website","Memorial website","News and magazine website","Nonprofit website","Online forum","Personal website","Petition website","Pornography website","Portfolio website","School website","Startup website","Subscription website","Travel website","Wedding website","Others");
     154
     155foreach($wadsb as $x => $xi_web) {
     156
     157if($x==get_option('aaabcore_backlink_website_type')){//echo esc_attr($xi_web);
     158}
     159
     160}
     161
     162?>
     163
     164    <button type="submit" name="aabcore_save_links_rads" class="btn btn-primary">
     165Submit
     166    </button></form>
     167<?php } ?>
     168</div>
     169
     170<?php if(get_option('aaabcore_backlinks_wads')==='0'){ ?><h4 class="card-title"></h4><?php }else{ ?>
     171<form method="post" action="">    <?php wp_nonce_field('aabcore_building_link_settings_off', 'aabcore_backlink_nonce_building'); ?>
     172    <button type="submit" name="aabcore_backlink_eads_off" class="btn btn-primary">
     173Change Website Type & Your Consent
     174    </button></form>
     175<?php } ?>
     176
     177                 
     178      </div>
     179    </div>
     180  </div>
     181</div>
     182
     183
    75184
    76185
    … …  
    78187  <div class="row g-0">
    79188    <div class="col-md-4">
    80       <img src="<?php echo esc_url(AABCORE_BACKLINK_TABLE_URL); ?>backlinks.png" class="img-fluid rounded-start" alt="...">
     189      <img src="<?php echo esc_url(AABCORE_BACKLINK_TABLE_URL); ?>backlinks-free.png" class="img-fluid rounded-start" alt="free backlinks backlink">
    81190    </div>
    82191    <div class="col-md-8">
    83192      <div class="card-body">
    84         <h4 class="card-title">Start building high-quality backlinks</h4>
    85         <p class="card-text">You need to connect our API services with the plugin to create backlinks for your websites.</p>
    86         <p class="card-text"><small class="text-body-secondary"><b>Click to begin backlink creation.</b></small></p><br>
    87 
    88 <?php
    89 
    90         //if (get_option('aaabcore_building_backlinks', false) === false) {
    91          // update_option('aaabcore_building_backlinks','0');}
    92 
    93 
    94 if (isset($_POST['aabcore_save_b_backlink']) && check_admin_referer('aabcore_save_backlinks_settings', 'aabcore_backlinks_nonce')) {
    95 
    96 $aabcore_backlinks_update="y";
    97         update_option('aaabcore_building_backlinks','1');
    98 }
    99 
    100 
    101 if (isset($_POST['aabcore_building_backlink_off']) && check_admin_referer('aabcore_building_backlinks_settings_off', 'aabcore_backlinks_nonce_building')) {
    102 
    103 $aabcore_backlinks_update="y";
    104         update_option('aaabcore_building_backlinks','0');
    105 }
    106 
    107 
    108 ?>
    109                  
    110 <div class="backlinks-f">
    111 <?php if(get_option('aaabcore_building_backlinks')==='1'){ ?><h4 class="card-title">    Active ✅    </h4><?php }else{ ?>
    112                   <form method="post" action="" >    <?php wp_nonce_field('aabcore_save_backlinks_settings', 'aabcore_backlinks_nonce'); ?>
    113     <button type="submit" name="aabcore_save_b_backlink" class="btn btn-primary">
    114 Begin backlinks creation
    115     </button></form>
    116 <?php } ?>
    117 </div>
    118 
    119 <?php if(get_option('aaabcore_building_backlinks')==='0'){ ?><h4 class="card-title">    Off ❌    </h4><?php }else{ ?>
    120 <form method="post" action="">    <?php wp_nonce_field('aabcore_building_backlinks_settings_off', 'aabcore_backlinks_nonce_building'); ?>
    121     <button type="submit" name="aabcore_building_backlink_off" class="btn btn-primary">
    122 Off
    123     </button></form>
    124 <?php } ?>
    125 
    126                  
     193
     194
     195
     196    <h5 class="card-title">Stop Your Link Anytime — Across All Other Websites</h5>
     197<p class="card-text">
     198You can stop or resume your links on your own webpage and across all other websites where your links appear.
     199<br><br>
     200Simply click <b>“Stop Link”</b> to stop building backlinks, or click <b>“Start Link”</b> to resume building backlinks on your webpage and across websites worldwide.
     201<br><br>
     202<b>Please note</b>: Any changes made by clicking “Stop Link” or <b>“Start Link”</b> will take effect after 12 hours.
     203<br><br>
     204
     205
     206<br><br>
     207
     208
     209</p>
     210
     211
     212<?php
     213if (isset($_POST['aabcore_links_start_seo']) && check_admin_referer('aabcore_links_start_settings', 'aabcore_link_start_nonce')) {
     214update_option('aabcore-link-start-stop','start');
     215wp_remote_post("https://aabcore.co.in/seo/off-my-ads.php", ['timeout' => 30, 'method' => 'POST', 'body' => ["domain" => get_site_url(), "type" => "start" ]]);
     216}
     217?>
     218
     219
     220<?php
     221if (isset($_POST['aabcore_links_stop_seo']) && check_admin_referer('aabcore_link_stop_settings', 'aabcore_links_stop_nonce')) {
     222update_option('aabcore-link-start-stop','stop');
     223wp_remote_post("https://aabcore.co.in/seo/off-my-ads.php", ['timeout' => 30, 'method' => 'POST', 'body' => ["domain" => get_site_url(), "type" => "stop" ]]);
     224}
     225?>
     226
     227<?php if(get_option('aabcore-link-start-stop')==='stop'){ ?>Links Are Stopped<br><?php }else{ ?>
     228<form method="post" action="">    <?php wp_nonce_field('aabcore_link_stop_settings', 'aabcore_links_stop_nonce'); ?>
     229  <button type="submit" name="aabcore_links_stop_seo" class="button button-primary" <?php if(get_option('aaabcore_backlinks_wads')!=='1'){ ?>disabled<?php } ?>>
     230        Stop Link
     231    </button>
     232</form>
     233<?php } ?>
     234
     235<br>
     236
     237
     238<?php if(get_option('aabcore-link-start-stop')==='start'){ ?>Links Are Being Shown<?php }else{ ?>
     239<form method="post" action="">    <?php wp_nonce_field('aabcore_links_start_settings', 'aabcore_link_start_nonce'); ?>
     240  <button type="submit" name="aabcore_links_start_seo" class="button button-primary" <?php if(get_option('aaabcore_backlinks_wads')!=='1'){ ?>disabled<?php } ?>>
     241        Start Backlink
     242    </button>
     243</form>
     244<?php } ?>
     245
     246<br>
     247<?php if(get_option('aaabcore_backlinks_wads')==='1'){ ?>
     248<?php }else{ ?><a href="/wp-admin/admin.php?page=aabcore-ext-backlinks#website" class="button button-primary">Select website type</a><?php } ?>
     249
    127250      </div>
    128251    </div>
    … …  
    133256
    134257
    135 
    136 
    137 
    138 
    139258<div class="card">
    140   <img src="<?php echo esc_url(AABCORE_BACKLINK_TABLE_URL); ?>seo.png" class="card-img-top" alt="...">
     259  <img src="<?php echo esc_url(AABCORE_BACKLINK_TABLE_URL); ?>seo.png" class="card-img-top" alt="Free SEO Plugin">
    141260
    142261  <div class="card-body">
  • aabcore-backlinks-page-backlinks/trunk/readme.txt

    r3714154 r3774651  
    77Requires at least: 5.2
    88Tested up to: 7.1
    9 Stable tag: 1.0.3
     9Stable tag: 1.0.4
    1010Requires PHP: 7.2
    1111License: GPLv2 or later
    … …  
    111111Aabcore Backlinks & Page Backlinks .0
    112112
     113= 1.0.4 =
     114Aabcore Backlinks seo Backlink 4
    113115
    114116No Upgrade Notice
Note: See TracChangeset for help on using the changeset viewer.