I’d like to add a dummy global instruction field for instructions that apply to all fields in a group. I have no idea about how to do that. I have looked for a specialized field type, to no avail.
Thanks in advance for any clue.
Patrick
]]><?php get_header();?>
<div id="l-side">
<h2>Today's Headlines</h2>
<?php
$args = array(
'post_type' => 'post',
'category_name' => 'news',
'posts_per_page' => 1,
);
$result = new WP_Query( $args );
$posts = $result->posts;
if( !empty( $posts ) ) {
foreach( $posts as $post ) {
?>
<div <?php post_class();?> id=post-"<?php echo $post->ID;?>">
<h3><a href="<?php echo get_permalink( $post->ID );?>"><?php echo $post->post_title;?></a></h3>
<?php echo apply_filters('the_content', $post->post_content);?>
<div style="clear:both;"></div>
<div class="commentlink">
<?php comments_popup_link('Comment »', '1 Comment »', '% Comments »'); ?></div>
<div style="clear:both;"></div>
<?php the_tags('<p class="post-tags"><strong>Tags:</strong> ', ', ', '</p>'); ?>
<div style="clear:both;"></div>
<?php
if( is_user_logged_in() ) {
$uid = get_current_user_id();
$userdata = get_userdata( $uid );
if( in_array( 'administrator' , $userdata->roles ) ){
edit_post_link( 'Edit', '', '', $post->ID, '' );
} } ?>
<?php } } ?>
</div>
<h5 style="text-align:right; margin:7px 0;"><a title="Browse All News" href="https://rebellionnews.com/category/news">
Browse all News »</a></h5>
</div>
<!-- END OF LEFT COLUMN -->
<div id="r-side">
<h2>Videos and Op Ed</h2>
<?php
$args = array(
'post_type' => 'post',
'category_name' => 'video',
'posts_per_page' => 2,
);
$result = new WP_Query( $args );
$posts = $result->posts;
if( !empty( $posts ) ) {
foreach( $posts as $post ) {
?>
<div <?php post_class();?> id=post-"<?php echo $post->ID;?>">
<h3 style="margin-bottom:0.45rem;">
<a href="<?php echo get_permalink( $post->ID );?>"><?php echo $post->post_title;?></a>
</h3>
******************************************************
***HERE'S WHERE I'M TRYING TO GET THE AUTHOR NAME, AFTER THE DATE:****
******************************************************
<p style="font-size:70%; line-height:0; text-align:right;">
Posted on <?php the_time('F jS, Y') ?> by <ahref...etc> AUTHOR </a> </p>
<?php echo apply_filters('the_content', $post->post_content);?>
<div style="clear:both;"></div>
<div class="commentlink">
<?php comments_popup_link('Comment »', '1 Comment »', '% Comments »'); ?>
</div>
<div style="clear:both;"></div>
<?php the_tags('<p class="post-tags"><strong>Tags:</strong> ', ', ', '</p>'); ?>
<div style="clear:both;"></div>
<?php
if( is_user_logged_in() ) {
$uid = get_current_user_id();
$userdata = get_userdata( $uid );
if( in_array( 'administrator' , $userdata->roles ) ){
edit_post_link( 'Edit', '', '', $post->ID, '' );
} } ?>
<?php
} } ?>
</div>
<h5 style="text-align:right; margin:7px 0;"><a title="Browse All Videos" href="https://rebellionnews.com/category/video">
Browse all Videos »</a></h5>
<div class="custom-hr"></div>
<div style="clear:both;"></div>
<?php the_tags('<p class="post-tags"><strong>Tags:</strong> ', ', ', '</p>'); ?>
<div style="clear:both;"></div>
</div>
<div style="clear:both;"></div>
</div><!-- END OF RIGHT COLUMN -->
<div style="clear:both;"></div>
<?php get_footer(); ?>
]]>Your plugin is good at protecting against page code views because it makes it difficult to access developer tools. However, in terms of the main declared function – protection against copying text and images from the site – it does not fulfill this role (at least on Windows). Copying both text and images from sites “protected” by it, is performed in the usual way using a regular keyboard and without using any additional programs or tools (and I’m not talking about PrintScreen, although the plugin does not fulfill this promised function also).
I was able to easily copy the content of all pages both on my test site and on your demo sites. Moreover, when copying the slider, which alternately shows photos, all the images that it contained were copied to the clipboard at once, and in their original quality.
I confirm that the plugin “disables” the selection of text using the mouse and the commands like Ctrl + A, Ctrl + C combinations, but at the same time the selection of text / pictures and their copying can be done in the standard way for Windows in the 1-2 seconds.
Hasn’t any of the 7,000 free users and an unknown number of shoppers still noticed this?
With a big question mark
Farid Taziev.
You said you are just getting into developing plugins? Well my friend you’re doing great so far and you are on my faves list now. Looking forward to more.
If you need dummy posts or pages TRUST this WP dev of 14 years and look no further!
Could have used you in the past haha
]]>However we have an IT department that obviously sets up the servers and background systems.
Can someone please in laymans terms tell me what I need. I have a mac (i know ha) and from what i’ve read I know i need a web host, PHP or MySQL, a server and an FTP client. (correct me if I’m wrong, i probably am)
I only know what a web host is – the experience i have of WordPress is logging in through wp-admin on the site directly – this is what i want to do locally – am i in too over my head to want to do this at home?
I have all the themes and knowledge once I get past this initial installation…..
Please helpp! Thanks
So, I can’t view reports because javascript keeps complying about missing variable dUmMy. I can see that there are templates for specific alerts from wordfence with that name, so the problem lies probably somewhere inside javascript. Firefox says it is in line: “var $=jQuery,call,__=[],$data=$item.data;with($data){__.push(“.
Is there a way to fix this?
https://www.ads-software.com/plugins/wordfence/
]]>