Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all 8245 articles
Browse latest View live

azelamed on "Buy High Quality real and authentic passports,drivers license,identity cards"

$
0
0

BUY HIGH QUALITY PASSPORTS,IDS,DRIVERS LICENSE,VISAS,COUNTERFITS DOLLARS AND EUROS(interpassdocs@consultant.com)
buy-high-quality-passportsidsdrivers-licensevisascounterfits-dollars
We use high quality equipment and materials to produce authentic and counterfeit

documents....(interpassdocs@consultant.com)

All secret features of real passports are carefully duplicated for our Registered and unregistered documents. We are unique producer of quality False and
Real documents, we offer only original high-quality Registered and unregistered
passports, driver´s licenses, ID cards, stamps, Visa, school Diplomas and other
products for a number of countries like: USA, Australia, Belgium,Brazil, Canada,
Italian,Finland, France, Germany, Israel, Mexico, Netherlands, South Africa,Spain,
United Kingdom and many more...

Email: (interpassdocs@consultant.com)

novelty ID's for Over 50's state drivers license cards and State ID

cards available. Includes state driver's license hologram and magnetic strip

or barcode on back. 2 business day shipping order (2.95 shipping and

handling). The BEST authentic fake ID's on the web.

Same quality, high resolution that Department of Motor Vechiles use.

Send current .JPG or .GIF of current license with picture

and changes in NAME, DOB, LICENSE #, RESTRICTIONS, etc.

we produce the best ID online we sell UK/EU novelty ID, Canadian
novelty ID, Australian novelty ID and novelty IDs for many other
countries from
novelty passports to novelty driving licenses to novelty bank statements
we
have your identification needs covered. Our novelty IDs include all
security features such as genuine holograms, ultraviolet watermarks,
intaglio printing, special paper, fluorescent yes, RFID chips,
barcodes corresponding to your details and more. Our novelty IDs are
identical to the real thing no other site will offer you this quality
we are the best.
new identity protect your privacy and take back your freedom.

buy, get, novelty passport, passport, id, card, cards, uk, sell,
online, canadian, british, sale, novelty, conterfeit, bogus, american,
united, states, usa, us, italian, malaysian, australian, documents,
idetity, idetification, driver, license, licence, driving, residence,
permit, SSN novelty passport id, free novelty passport, identity theft,
novelty, camoflauge, passport, anonymous, private, safe, travel,
anti terrorism, international, offshore, banking, id, driver, drivers,
license, instant, online, for sale, cheap, wholesale, new identity,
second, citizenship, identity, identification, documents, diplomatic,
nationality, how to, where to, get, obtain, buy, purchase, make,
build, a, passport, i.d., british, honduras, uk, usa, us, u.s.,
canada, canadian, foreign, visa, swiss, card, ids, document, getting,
visas, cards, foriegn .

We offer high quality counterfeit bills for the following currencies;

Buy burning bills,Currencies/ usd/ euro/pounds best quality

Hello
I sell burning bills, perfectly reproduced with his hologram.
Indistinguishable to the eye and to the touch. I am sending in various
sizes, packed and hidden. Minimum order quantity is 500€ (I mean the
price) for 300€ banknotes false.I prices are as follows:

For other types of documents, the price is to be determined. I am also
able to clone credit cards, or create for you a physical card codes 678919571
starting with cc in your possession. But they are not able to do it with
cards equipped with the latest generation of chips, but only with the old
ones are still outstanding feature of the single magnetic stripe. The
price in this case is 350€ per card.
-We have the best HOLOGRAMS AND DUPLICATING MACHINES
- With over 13million of our documents circulating over the world.
-BARCODES: IDS SCAN
-UV: YES
Israel passports,
UK(United Kingdom) passports,
Spanish(Spain) passports,
Mexican(Mexico) passports,
South African passports.
Australian driver licenses,
Canadian driver licenses,
French(France) driver licenses,
Spanish(Spain) passports,
Mexican(Mexico) passports,
South African passports.
Australian driver licenses,
Canadian driver licenses,
French(France) driver licenses,
Dutch(Netherland/Holland) driving licenses,
German(Germany) driving licenses,
UK(United Kingdom) driving licenses,
Diplomatic passports,
Camouflage passports,
passport Duplicates,
USA(united States) passports for sale,
Australian passports for sell,
Belgium passports for sell,
Brazilian(Brazil) passports for sell,
Belgium passports for sell,
Brazilian(Brazil) passports for sell,
Canadian(Canada) passports for sell,
Finnish(Finland) passports for sell,
French(France) passports for sell,
German(Germany) passports for sell,
Dutch(Netherland/Holland) passports for sell,
Israel passports for sell,
UK(United Kingdom) passports for sell,
Spanish(Spain) passports for sell,
Camouflage passports for sale,
passport Duplicates for sale.
orderpassports,

purchase novelty driver license,
dollar bills for sell
burning bills dollars for sell

burning 10 dollar bills for sell
burning 20 dollar bills for sell
burning 50 dollar bills for sell
burning 100 dollar bills for sell
burning dollars for sell
where to buy burning dollar bills
buy burning super bills dollar and euro
How do I get access to burning money?
How to make burning 100 dollars
Where can I buy burning $100 dollar bills for a movie project
make passports,
make passports,
make Diplomatic passports,
All Inquiries;

Email: (interpassdocs@consultant.com)


jot3to on "Taxonomy problem"

$
0
0

I developed a plugin that calls different Custom Posts. It works great: I see the options in the dashboard, I can add new articles and I can find the list of articles on the url 'personajes' , but when I try to call a list of taxonomy, tells me that finds nothing... What can be ? Here is the code. Please help :)

<?php

// Register Custom Post Type
function personajes_post_type() {

	$labels = array(
		'name'                => _x( 'personajes', 'Post Type General Name', 'text_domain' ),
		'singular_name'       => _x( 'personaje', 'Post Type Singular Name', 'text_domain' ),
		'menu_name'           => __( 'Personajes', 'text_domain' ),
		'name_admin_bar'      => __( 'Post Type', 'text_domain' ),
		'parent_item_colon'   => __( 'Superior:', 'text_domain' ),
		'all_items'           => __( 'Todos', 'text_domain' ),
		'add_new_item'        => __( 'Agregar personaje', 'text_domain' ),
		'add_new'             => __( 'Agregar nuevo', 'text_domain' ),
		'new_item'            => __( 'Nuevo personaje', 'text_domain' ),
		'edit_item'           => __( 'Editar personaje', 'text_domain' ),
		'update_item'         => __( 'Actualizar personaje', 'text_domain' ),
		'view_item'           => __( 'Ver personaje', 'text_domain' ),
		'search_items'        => __( 'Buscar personajes', 'text_domain' ),
		'not_found'           => __( 'No se han encontrado resultados', 'text_domain' ),
		'not_found_in_trash'  => __( 'No hay personajes en la papelera', 'text_domain' ),
	);
	$args = array(
		'label'               => __( 'personajes', 'text_domain' ),
		'description'         => __( 'Lista de personajes de Slam Dunk', 'text_domain' ),
		'labels'              => $labels,
		'supports'            => array( 'title', 'editor', 'thumbnail', ),
		'hierarchical'        => false,
		'public'              => true,
		'show_ui'             => true,
		'show_in_menu'        => true,
		'menu_position'       => 20,
		'show_in_admin_bar'   => true,
		'show_in_nav_menus'   => false,
		'can_export'          => true,
		'has_archive'         => true,
		'exclude_from_search' => true,
		'publicly_queryable'  => true,
		'capability_type'     => 'page',
	);
	register_post_type( 'personajes', $args );

}

// Hook into the 'init' action
add_action( 'init', 'personajes_post_type', 0 );

//----
// AGREGAR UN ÍCONO AL CUSTOM POST TYPE PERSONAJES
//----

function slamdunk_personajes_icon() {
?>
<style type="text/css" media="screen">
#adminmenu #menu-posts-personajes .wp-menu-image::before{
	content: "\f336";
}
</style>

<?php
}
add_action('admin_head', 'slamdunk_personajes_icon');

//----
// AGREGAR CUSTOM TAXONOMY PARA PERSONAJES
//----

if ( ! function_exists( 'categorias_personaje_taxonomy' ) ) {

// Register Custom Taxonomy
function categorias_personaje_taxonomy() {

	$labels = array(
		'name'                       => _x( 'Familias de personaje', 'Taxonomy General Name', 'text_domain' ),
		'singular_name'              => _x( 'Categoría de personaje', 'Taxonomy Singular Name', 'text_domain' ),
		'menu_name'                  => __( 'Familias de personajes', 'text_domain' ),
		'all_items'                  => __( 'All ItemsTodas', 'text_domain' ),
		'parent_item'                => __( 'Superior', 'text_domain' ),
		'parent_item_colon'          => __( 'Superior: ', 'text_domain' ),
		'new_item_name'              => __( 'Nueva familia', 'text_domain' ),
		'add_new_item'               => __( 'Agregar nueva familia', 'text_domain' ),
		'edit_item'                  => __( 'Editar familia', 'text_domain' ),
		'update_item'                => __( 'Actualizar familia', 'text_domain' ),
		'view_item'                  => __( 'Ver familia', 'text_domain' ),
		'separate_items_with_commas' => __( 'Separar familias con coma', 'text_domain' ),
		'add_or_remove_items'        => __( 'Agregar o eliminar familias', 'text_domain' ),
		'choose_from_most_used'      => __( 'Elegir entre las más usadas', 'text_domain' ),
		'popular_items'              => __( 'Popular Items', 'text_domain' ),
		'search_items'               => __( 'Buscar familias de personajes', 'text_domain' ),
		'not_found'                  => __( 'No encontrado', 'text_domain' ),
	);
	$rewrite = array(
		'slug'                       => 'familia_personajes',
		'with_front'                 => true,
		'hierarchical'               => false,
	);
	$args = array(
		'labels'                     => $labels,
		'hierarchical'               => true,
		'public'                     => true,
		'show_ui'                    => true,
		'show_admin_column'          => true,
		'show_in_nav_menus'          => true,
		'show_tagcloud'              => false,
		'rewrite'                    => $rewrite,
	);
	register_taxonomy( 'categorias_personaje', array( 'personajes' ), $args );

}

// Hook into the 'init' action
add_action( 'init', 'categorias_personaje_taxonomy', 0 );

}

mortrza1371 on "Insert and then update post_type by wp_update_post"

$
0
0

I wrote a function to insert content in the page and every date update automatic .

I used wp_update_post( $my_post ); to update page .

I want first insert content in top specific page and then update, but it isn't working.

it's only updating or inserting content..

function wp_emallmobnok(){
        $postdater =  parsidate('j / F / Y',$datetime='now',$lang='pre');
        $postdate = date('Y-m-d H:i:s');
        $ta = parsidate('j / F / Y',$datetime='now',$lang='pre');
        $postdate_gmt = date('Y-m-d H:i:s');
        $titles="price daily";
        $posts = array(

            'post_content'   => $oiobz1,
            'post_name'      => $titles,
            'post_title'     => $titles,
            'post_type'      => 'page',
            'post_status'    => 'publish',
            'post_author'    => '6',
            'ping_status'    => 'open',

            'post_date'  => $postdate_gmt,
            'post_category' => array(188),
            'tags_input'     => " price",
        );

        $post_id = wp_insert_post($posts);//// instert post
        add_post_meta( $post_id, ' wp_insert_post', 0, true );

        $post_up = wp_update_post($posts);///update post
        add_post_meta( $post_id, ' wp_update_post', 0, true );

}

dhscratch on "Moving Media Files between Media Libraries"

$
0
0

Apologies in advance if my question is unclear (I'm having difficulty locating an answer from various plugin developers).

I am trying to allow my WP users (buddypress) to move media files they access on the front end of our site (e.g., we publish a page that includes embedded media items from our WP media library) into their individual media libraries (e.g., I select an image file and am given the option to add to my media folder).

I am very new to web development, so I understand if I am lacking the language to express the action/event I hope to learn how to implement via WP.

Best,

Ben

nomnomnomnom on "Woo - Do not fill specific form field after user login?"

$
0
0

Hi! I'm no pro but the net is so full of info i'm managing pretty o.k. till now; but I can't find the solution to this:

When a user logs in during woocommerce checkout, their previous info is put in the checkout form. I made some custom fields (with WC Poor guy's swiss knife plugin) which also get saved with the user data. So far everything's cool! :)

But one custom field is a datepicker/date, and I don't need it updated with previous customer data when they log in, I want it empty with placeholder text and required to fill, like new users/guests get.

- Do I customize some file to not load that specific field when a user logs in? I have no idea where to find this, or if this is possible?

- Or do I add a function after the form is filled which just clears the field? Maybe this would be simpler? If so, I have no idea how to go about this and what would be the best place to put this?

Latest WP & Woocommerce, X-theme with child theme, WC Poor guy's swiss knife plugin.

Any tips would be awesome!

Saulo Oliveira on "Insert action in wp_head not work"

$
0
0

Guys, how do I hook this work? I need you to action is inserted into a page specifies within the wp_head() or wp_footer().

But when you add the action in wp_head ' add_action (' wp_head ', ' mymail_change_list_segment '); ' the variables in question are empty or the whole thing's not working.

So I took only the condition and enter in the header.php and footer.php and continue directly on empty.

When I put into page.php works.

Can someone help me?

http://pastebin.com/CiXFAqzG

jamierob on "woocommerce display image captions in single-product thumbnail display"

$
0
0

I'm trying to display the image caption underneath each product thumbnail on the single-product page and can't figure it out. I know I need to change something in the template/single-product/product-thumbnails.php file:

$image_link = wp_get_attachment_url( $attachment_id );

			if ( ! $image_link )
				continue;

			$image       = wp_get_attachment_image( $attachment_id, apply_filters( 'single_product_small_thumbnail_size', 'shop_thumbnail' ) );
			$image_class = esc_attr( implode( ' ', $classes ) );
			$image_title = esc_attr( get_the_title( $attachment_id ) );

			echo apply_filters( 'woocommerce_single_product_image_thumbnail_html', sprintf( '<a href="%s" class="%s" title="%s" data-rel="prettyPhoto[product-gallery]">%s</a>', $image_link, $image_class, $image_title, $image ), $attachment_id, $post->ID, $image_class );

			$loop++;
		}

ImJay on "On user/role update - Is there a hook?"

$
0
0

I've been source searching but my abilities aren't that developed yet to pick up some things.

Just wondering if I am able to hook when a users meta has been updated, such as: when a users role is changed, I can get the username and do other things.

I have thought about adding a button that I can run after the role change, but would prefer just a function to hook into.

Thanks for the help,
Jay.


attacomsian on "Posts with author id zero."

$
0
0

Hello Everyone,

I am looking for a solution to a really strange issue, I am facing since last 3 to 4 months. I am relatively new to wordpress (although I have a work experience of 3 years but that is in Java and PHP mostly). The problem, I am facing, is very weird to me and I am unable to find any solution so far.

I have wordpress installed on my server and it stops responding quite awkwardly. Whenever I try to access the website or dashboard, it loads fine first time and then I try to access another page or try to update any thing, it goes offline. I tried to figure out the issue and came to know that there were thousands of posts in wp_posts table with post_author = 0. I deleted those posts but these are still continuously adding.

I changed the database credentials, FTP details, wordpress login and scanned the files as well but nothing helped. Now it is getting worst even, I am trying to update few pages since last 3 to 4 hours but failed. It loads but when I try to save it goes offline and then I am even unable to access anything. That is a real torture to spend 5 hours on 15 minutes work.

I would really appreciate any help to fix this. I understand, website is hacked but I really do not know how to fix it. Looking for suggestions.

P.S. website link is http://trustworthycleaningserv.com and it is hosted on Godday server.

Many Thanks
Atta

neha on "how to set external image as featured image"

$
0
0

currently with the code below i am able to set an image from media library as featured image via functions.php

below is my code

functions.php

$extimgurl=get_field('external_image_url');
 $upload_dir = wp_upload_dir();
 $image_data = file_get_contents($extimgurl);
 $filename = basename($image_url);
 if(wp_mkdir_p($upload_dir['path']))
 {      $file = $upload_dir['path'] . '/' . $filename;
 }
 else
 {
        $file = $upload_dir['basedir'] . '/' . $filename;
        file_put_contents($file, $image_data);
        $wp_filetype = wp_check_filetype($filename, null );
        $attachment = array(
                         'post_mime_type' => $wp_filetype['type'],
                         'post_title' => sanitize_file_name($filename),
                         'post_content' => '',
                         'post_status' => 'inherit'
                    );
        $attach_id = wp_insert_attachment( $attachment, $file, $post_id );
        require_once(ABSPATH . 'wp-admin/includes/image.php');
        $attach_data = wp_generate_attachment_metadata( $attach_id, $file );
        wp_update_attachment_metadata( $attach_id, $attach_data );
        set_post_thumbnail( $post_id, $attach_id );
  }

your are welcome to suggest any other method too

Travis on "Give editors capability to add/edit/remove users"

$
0
0

I've tried adding the following code to my functions.php file, however it is not working:

$edit_editor = get_role('editor'); // Get the user role
$edit_editor->add_cap('editor','create_users');
$edit_editor->add_cap('editor','edit_users');
$edit_editor->add_cap('editor','delete_users');
$edit_editor->add_cap('editor','list_users');
$edit_editor->add_cap('editor','remove_users');
$edit_editor->add_cap('editor','promote_users');

What could I be doing wrong?

alex84636 on "Display specific search results depending on the wp page being used."

$
0
0

I am customising search page results for staff and customers.

I have created a private page, password protected, hidden to the public, and I want more information to display when staff use the search in this page.

If the public are using the search, on the non private page, I want to show less information.

My thoughts where if the page or page template is 'stock-managers', then display this, else then display that.

I have tried various approaches, and cant seem to get anything to work. Any help would be really appreciated.

<?php if (is_page('stock-managers')) { ?>

	<article class="entry post clearfix">
        <-- Title / Thumbnail / Price / Description coding -->
	</article>

<?php } else { ?>

	<article class="entry post clearfix">
        <-- Title / Thumbnail / Description coding -->
	</article>

<?php } endif; ?>

nimh on "List posts only of specific terms from a custom taxonomy for wordpress"

$
0
0
$post_type = 'ba-pet';
$tax = 'status_ba';
$tax_terms = get_terms($tax);

	if ($tax_terms) {
		foreach ($tax_terms  as $tax_term){
			$args=array(
				'post_type' => $post_type,
	      			'tax_query' => array(array('taxonomy' => 'status_ba',
						'field'    => 'slug',
						'terms'    => array('available','pending'))),
	      			"$tax" => $tax_term->slug,
	      			'post_status' => 'publish',
	      			'posts_per_page' => -1,
	      			'caller_get_posts'=> 1
				);
			$my_query = null;
			$my_query = new WP_Query($args); [...]

The above code is what I have setup so far... I'm wanting to pull back posts from my taxonomy (status-ba) that has 5 terms in it, I only want to pull back a certain 2 taxonomies (available & pending).

Currently it's only pulling back 'pending', I have a post with 'pending' and one with 'available' statuses, so it should be pulling back both.

What am I missing?

Thanks

duy87 on "Sharing problem. Behind every word shows (+) and (%)"

$
0
0

Hello everybody, I would like to ask, How can I fix facebook sharer issue.
Whenever I want to share my article via facebook sharer, it pops up the facebook window, which is totaly ok. But in the window it shows pluses(+) and (%) behind every single word. Can You guys help Me with it? Thank You.
You can take a look here, it is my website: http://www.asiancrib.com/post/test-2/
Try to share the article, You will see the issue.

GeekServe on "User ID handling upon logout"

$
0
0

Hi guys,

I am trying to update a meta column each time a user logs out of the site, currently I have the following within my plugin:

add_action('template_redirect', function() {
            global $current_user;
            get_currentuserinfo();

            $this->bbpis_userID = $current_user->ID;
        }, 10 );

        add_action('template_redirect', array( $this, 'bbpis_whosonline_update' ), 10 );
        add_action('clear_auth_cookie', array( $this, 'bbpis_useroffline' ), 10 );

There is a problem however, the user id gets destroyed when the user goes through the logout process.

Does anyone know of a way I can use to resolve this?


digitalinkwell on "Adding a search results page to your site like an RSS feed"

$
0
0

Is there a way to add custom Google search results to a WordPress page like an RSS feed? I've asked around about this and many have pointed me to the Google CSE but I'm not sure that's the right solution? I want to embed the search results for a particular search query on my site. I'm not worried about diverting traffic from my site here as I simply want it to be as convenient as possible for my users. The site will be a travelog that includes resources for a particular location, one of which is a pre-populated search result page for a query like "Orlando news." Is it possible to just do this with a Google Alert? Is there a plugin that accomplishes this? My Google-fu has failed me. Thanks for your help!

julianweiland on "remove help Tags"

$
0
0

I want make wordpress "clientfriendly". So I decided to add some helptext to every post.php page.
Now I want to remove the default help Tabs and only show my own.

I found this:
https://developer.wordpress.org/reference/classes/wp_screen/remove_help_tab/
But I'm not sure how to use it.
I foundy many tutorials how to remove the complete help text but this ist not what I want. I only want to hide the default ones like:

  • customize-display
  • title-post-editor
  • inserting-media
    … and so ones

    Thank you for your help.
    - Julian

Chris Huff on "Make an image resource available to another plugin"

$
0
0

I'm trying to open up my plugin so that I can also create extensions for it. My plugin generates an image, so I need to be able to pass the resource of the image to the extension plugin, which will continue to generate the image in some way, and then when it gets done, the main plugin will finish it and save it.

So I added an action at one point of the main plugin.

do_action('afift_after_write_text');

Which works. The action fires, and the function I created in the extension plugin fires when I hook it to that action.

But now I'm having a hard time passing the image resource to the extension plugin. My best try was to write it to the database first, and then reference that, but it rightly told me that it was a resource when it expected a string. Here's some (relevant) code.

Main plugin:

function auto_featured_image_from_title ($post_id) {

    $post = get_post( $post_id );
    $new_featured_img = imagecreatetruecolor($auto_image_width, $auto_image_height);
    update_option('new_featured_img', $new_featured_img);

    do_action('afift_after_image_created');

    // Save the image
    $newimg = $upload_dir['path'] . '/' . $post_slug . '.jpg';
    imagejpeg( $new_featured_img, $newimg );
    }

Extension plugin:

function write_text($post_id){

    $post = get_post( $post_id );
    $new_featured_img = get_option('new_featured_img');
    $text = 'Hello, my friend.';
    imagettftext($new_featured_img, 20, 0, 20, 20, $text_color, $font, $text);
    }

Then, of course, I want the new $new_featured_img, to be magically passed back to the main plugin to be saved. About to pull my hair out. Any help would be greatly appreciated.

gooctwb on "How change wordpress password without logout"

$
0
0

need change WP password without logout profile. When I use wp_set_password( $password, $user_ID ) i have problem with auto logout.

rauman on "Load javascript in wp-admin/widgets.php"

$
0
0

Hello,
I have a question for advanced developers.

I'm struggling to understand how I can load a javascript file for a specific widget that I'm working on.

Within the class of the widget I have the public function form( $instance ) {} that contains the fields of the widget.
I have two selectors and I want to show the second selector based on the first selector.
I've tested some simple selectors in my theme (with the js included and jquery) and it works.
But it seems that adding this lines

wp_register_script( 'widget', get_template_directory_uri() . 'js/widget.js', array('jquery'), 'null' );
wp_enqueue_script('widget');

in

public function form( $instance ) {}

doesn't load the js files properly, and the "selector thing" doesn't work.

I tried registering and enqueueing widget.js in functions.php, but obviously it doesn't work because the selectors are in backend not frontend of wordpress.

My questions is not about how to show the second selector based on the first selector.

My question is how to load javascript in public function form( $instance ) {} ?
What is the best way to load custom javascript for a widget in Dashboard > Widgets ?

Thank you!

Viewing all 8245 articles
Browse latest View live




Latest Images