在Wordpress中的某些管理页面上自定义css和JS

我创建了一个插件,用于在Wordpress中导出一些特定内容(名为 cav </ strong>,位于 / wp-content / plugins / cav </ strong>)我在Tools主菜单中添加了管理菜单链接,如下所示:</ p>

  define('CAV_DIR'  ,plugin_dir_path(__ FILE __)); 
define('CAV_URL',plugins_url()。“/ cav”);

function cavlfo_admin_enqueue($ hook){
global $ post;
if($ hook =='post-new .php'|| $ hook =='tools.php?page = CAV'){

wp_enqueue_style('cavlfo_style',CAV_URL。'/ css / cav.css');
wp_enqueue_style('cavlfo_targetted', CAV_URL。'/ css / targettedcss.css');
wp_enqueue_script('cavlfo_targetted',CAV_URL。'/ js / targetted.js',array(“jquery”));
}
}
add_action('admin_enqueue_scripts ',''cavlfo_admin_enqueue');
</ code> </ pre>

当我使用</ p>

if($ hook = ='post-new.php'|| $ hook =='tools.php'){。 。 。} </ code> </ p>

但我希望它只在它实际上是</ p>

if($ hook =='post- new.php'|| $ hook =='tools.php?page = CAV'){。 。 。} </ code>(仅在页面上是CAV)</ p>

有任何建议吗? </ p>
</ div>

展开原文

原文

I created a plugin to export some specific content in Wordpress ( called cav and located in /wp-content/plugins/cav ) and I added its admin menu link in the Tools main menu as follows:

define( 'CAV_DIR', plugin_dir_path( __FILE__ ) );
define( 'CAV_URL', plugins_url()."/cav" );

function cavlfo_admin_enqueue($hook) {
global $post;
if ( $hook == 'post-new.php' || $hook=='tools.php?page=CAV' ) {

        wp_enqueue_style( 'cavlfo_style', CAV_URL. '/css/cav.css' );
  wp_enqueue_style(  'cavlfo_targetted', CAV_URL.'/css/targettedcss.css' );
        wp_enqueue_script(  'cavlfo_targetted', CAV_URL.'/js/targetted.js', array("jquery") );
}
}
add_action( 'admin_enqueue_scripts', 'cavlfo_admin_enqueue' );

All this works fine when I used

if( $hook == 'post-new.php' || $hook=='tools.php' ){ . . .}

but I want it to work ONLY when it's actually

if( $hook == 'post-new.php' || $hook=='tools.php?page=CAV' ){ . . .} (Only on the page is CAV )

Any suggestion?

dougan4884
dougan4884 我已经做了。谢谢@andrepaulo
3 年多之前 回复
douyingbei1458
douyingbei1458 建议...您也可以回答自己的问题,它将帮助未来的人立即找到答案,而不是通过链接进行导航。
3 年多之前 回复
drtpbx3606
drtpbx3606 经过一番挖掘后,我发现了这个并且它确实有了诀窍wordpress.stackexchange.com/questions/41207/...
3 年多之前 回复

1个回答



经过一番挖掘,我得到了这个:</ p>

  function CAV_options_page()
{

$ submenu = add_submenu_page(
'tools.php',
'Cav Options',
'Cav Options',
'enter manage_options',
'CAV',
'CAV_options_page_html'
);

add_action('admin_print_styles-'。$ submenu,'CAV_custom_enqueue');
add_action('admin_print_scripts-'。$ submenu,'CAV_custom_enqueue');
}
add_action('admin_menu','CAV_options_page');
< / code> </ pre>

然后我将需要入队的样式和脚本放入函数中</ p>

  function CAV_custom_enqueue(){
wp_enqueue_style('cav_targetted',CAV_URL。'/ css / targettedcss.css');
wp_enqueue_script('cav_targetted',CAV_URL。'/ js / targetted.js',array(“jquery”));
}
</ code> </ pre>

我希望它有所帮助。 </ p>
</ div>

展开原文

原文

After some digging I got this:

function CAV_options_page()
{
  $submenu= add_submenu_page(
        'tools.php',
        'Cav Options',
        'Cav Options',
        'manage_options',
        'CAV',
        'CAV_options_page_html'
    );
add_action( 'admin_print_styles-' . $submenu, 'CAV_custom_enqueue' );
add_action( 'admin_print_scripts-' . $submenu, 'CAV_custom_enqueue' );
}
add_action('admin_menu', 'CAV_options_page');

Then I put the styles and scripts that need to be enqueued in a function

function CAV_custom_enqueue(){
    wp_enqueue_style(  'cav_targetted', CAV_URL.'/css/targettedcss.css' );
    wp_enqueue_script(  'cav_targetted', CAV_URL.'/js/targetted.js', array("jquery") );
}

I hope it helps someone.

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
在wordpress中加载iframe中的自定义页面

<div class="post-text" itemprop="text"> <p>I am a noob with wordpress and I need a little help, as I think what I'm trying to do shouldn't be too difficult.</p> <p>I added in one of the pages the necessary functions that render a form with an input text field and a submit button.</p> <p>When then submit button is pressed I invoke a modal popup which contains another page which is just an html page but contains a form that posts to a php page. </p> <p>Right now the content of the iframe is externally hosted and everything works fine. However, I haven't been successful in having the content of the iframe migrated locally within the wordpress directories.</p> <p>I tried copying the html page into the plugins wordpress directory but the resources (images, javascript, css) will not load. I fear just dumping an html file won't be enough and that it needs to be done differently.</p> <p>Any clues as to how to get this content to render? Does it have to be a new widget, or is this just a new page with a custom template or is there a quick and easy way to get wordpress to render that directory like a normal php directory?</p> <p>Thank you</p> </div>

如何将自定义css和js文件添加到wordpress的管理区域[关闭]

<div class="post-text" itemprop="text"> <p>The question is asked too many times and there are too many different questions and for some reason it seems that i can't get it to work with none of the answers i have found. The very strange thing is that i had developed themes earlier and it was working.</p> <p>I need to make some options to my theme, so i made separated menu in wordpress admin area and it works, i added some options to that page and it's shown, also saving options works.</p> <p>Now i wanted to make a bit more options and make them tabbed with jquery ui tabs. I know that wordpress natively supports jquery ui now but it needs to be called additionally to load.</p> <p>So after messing too many with code i at the end ended pulling a code from generatewp.com site which should work, but it don't, why i can't understand that.</p> <p>The current code now is:</p> <pre><code>function custom_styles() { wp_register_style( 'jquery-ui-style', 'http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css', false, false ); } // Hook into the 'admin_enqueue_scripts' action add_action( 'admin_enqueue_scripts', 'custom_styles' ); // Register Script function custom_scripts() { wp_register_script( 'jquery-ui-core', '', array( 'jquery' ), false, false ); wp_register_script( 'jquery-ui-tabs', '', array( 'jquery' ), false, false ); } // Hook into the 'admin_enqueue_scripts' action add_action( 'admin_enqueue_scripts', 'custom_scripts' ); </code></pre> <p>According to wordpress records this should register jquery ui tabs and style but it doesn't.</p> <p>I tried many other combinations and it simply doesn't work. Why i can't understand that.</p> </div>

将Wordpress短代码附加到css类?

<div class="post-text" itemprop="text"> <p>So...</p> <p>After hours of trial and error, I can't seem to get this working.</p> <p>I have a plugin called woodiscuz, which allows users to comment on products (it's an e-commerce store running woocommerce, nothing fancy).</p> <p>Here's a screenshot of what it looks like: <a href="https://i.stack.imgur.com/2oH5T.png" rel="nofollow noreferrer">https://i.stack.imgur.com/2oH5T.png</a></p> <p>I have another plugin called myCRED, which serves as a loyalty scheme. (get points when you spend, etc)</p> <p>myCRED comes with badges, and you can display a users earned badges by using [mycred_my_badges]. <strong><em>I want this badge/shortcode to appear under the STAFF badge.</em></strong></p> <p>So i figured, hey why don't i just use the do_shortcode() function i learned recently... Nope. </p> <p>This is the code I have tried to use: </p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre class="snippet-code-js lang-js prettyprint-override"><code>$( ".wpc-comment-left" ).append( document.createTextNode(&lt;?php echo do_shortcode(“[mycred_my_badges]”); ?&gt;) );</code></pre> </div> </div> <p>Now, looking at the comment screenshot, the blue box is a css class called "wpc-comment-left", hence why i'm trying to append my shortcode to it. The red part is where i want the badges to appear.</p> <p>I hope this makes sense to some of you. I don't know where else to look and I know very little PHP and JS so any help is highly appreciated.</p> <p>Cheers!</p> </div>

将自定义幻灯片添加到Wordpress主题

<div class="post-text" itemprop="text"> <p>So i made a slideshow using HTML, CSS and JS. </p> <p>It's for a personal blog i'm creating, so i would like to add the slideshow into a Wordpress theme that i purchased.</p> <p>I created a child theme and tried to edit the function.php file and the style.css, and although i know some PHP it's really hard to understand how the code works and where to add mine.</p> <p>Basically i want to display my slideshow initially, and then the rest of the Wordpress theme with all the posts and such.</p> <p>Is it possible or should i only work with the customization options of the theme, although they're limited?</p> </div>

将Metabox与wordpress中的自定义页面模板相关联

<div class="post-text" itemprop="text"> <p>I'm making a Template Portfolio for wordpress , I'm having some difficulty with the addition of a Metabox in the backend of a custom page . I have a page " About Me" with the progressbar to show the skills , and I would add in bakend a Metabox to change the percentage of the progressbar , now I could see the Metabox on the backend of all pages and through jquery i hide it if the address of the page is not as expected , there is any way to make the display more generic and associate the Metabox to a custom page template ?</p> <p>this is the code that i have in my function.php, it works well , but I would make it less specific </p> <pre><code>&lt;?php add_action('add_meta_boxes', 'box_percentuale'); function box_percentuale() { add_meta_box( 'percentuale', 'Mdifica progress bar', 'box_percentuale_style', 'page' ); } function box_percentuale_style($post) { ?&gt; &lt;div&gt; &lt;h4&gt;Percentuale skills&lt;/h4&gt; &lt;label&gt;HTML&lt;/label&gt;&lt;input type="number" name="html" value="&lt;?php echo get_post_meta($post-&gt;ID, 'html', true); ?&gt;"&gt; &lt;label&gt;CSS&lt;/label&gt;&lt;input type="number" name="css" value="&lt;?php echo get_post_meta($post-&gt;ID, 'css', true); ?&gt;"&gt; &lt;label&gt;JQUERY&lt;/label&gt;&lt;input type="number" name="jquery" value="&lt;?php echo get_post_meta($post-&gt;ID, 'jquery', true); ?&gt;"&gt; &lt;label&gt;WORDPRESS&lt;/label&gt;&lt;input type="number" name="wordpress" value="&lt;?php echo get_post_meta($post-&gt;ID, 'wordpress', true); ?&gt;"&gt; &lt;label&gt;ILLUSTRATOR&lt;/label&gt;&lt;input type="number" name="illustrator" value="&lt;?php echo get_post_meta($post-&gt;ID, 'illustrator', true); ?&gt;"&gt; &lt;label&gt;PHOTOSHOP&lt;/label&gt;&lt;input type="number" name="photoshop" value="&lt;?php echo get_post_meta($post-&gt;ID, 'photoshop', true); ?&gt;"&gt; &lt;/div&gt; &lt;script&gt; jQuery(document).ready(function($) { var url = window.location.href; var urlPagina = 'http://localhost/wordpress/wp-admin/post.php?post=34&amp;action=edit'; $('#percentuale').css('display', 'none'); if (url == urlPagina) { $('#percentuale').show(); }; }); &lt;/script&gt; &lt;?php } add_action('save_post', 'slava_percentuale'); function slava_percentuale($post_id) { if(isset($_POST['yiw_progetti_link'])) { update_post_meta($post_id, 'html', intval($_POST['html'])); update_post_meta($post_id, 'css', intval($_POST['css'])); update_post_meta($post_id, 'jquery', intval($_POST['jquery'])); update_post_meta($post_id, 'wordpress', intval($_POST['wordpress'])); update_post_meta($post_id, 'illustrator', intval($_POST['illustrator'])); update_post_meta($post_id, 'photoshop', intval($_POST['photoshop'])); } } ?&gt; </code></pre> </div>

jQuery验证引擎插件在wordpress自定义页面模板中不起作用

<div class="post-text" itemprop="text"> <p>I am using a custom page template and including jQuery Validation Engine plugin after the <code> &lt;!--Content Row--&gt;</code> comment, the code is as follows</p> <pre><code>&lt;?php get_header(); ?&gt; &lt;?php //Template Name:test ?&gt; &lt;div class="wrap"&gt; &lt;!-- Slider --&gt; &lt;?php AwesomeSlider(); ?&gt; &lt;?php $titleType = get_post_meta(get_the_ID(), 'intro_type', true); $pageTitle = ''; $pageDesc = ''; switch ($titleType) { case "2": $pageTitle = get_post_meta(get_the_ID(), 'intro_title', true); break; case "3": { $pageTitle = get_post_meta(get_the_ID(), 'intro_title', true); $pageDesc = get_post_meta(get_the_ID(), 'intro_desc', true); break; } default: $pageTitle = get_the_title(); break; } ?&gt; &lt;!--Intro--&gt; &lt;?php if($titleType != '4'){ ?&gt; &lt;div id="wrap_intro" &gt; &lt;div class="container"&gt; &lt;div class="intro"&gt; &lt;h1&gt;&lt;?php echo $pageTitle; ?&gt;&lt;/h1&gt; &lt;h3&gt;&lt;?php echo $pageDesc; ?&gt;&lt;/h3&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;?php } ?&gt; &lt;!--Content--&gt; &lt;div id="wrap_main" &gt; &lt;div class="top_left"&gt;&lt;/div&gt; &lt;div id="main" class="container"&gt; &lt;!--Content Row--&gt; &lt;link rel="stylesheet" href="&lt;?php bloginfo('template_url'); ?&gt;/css/validationEngine.jquery.css" type="text/css"/&gt; &lt;script type="text/javascript" src="&lt;?php bloginfo('template_url'); ?&gt;/js/languages/jquery.validationEngine-en.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="&lt;?php bloginfo('template_url'); ?&gt;/js/jquery-1.8.2.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="&lt;?php bloginfo('template_url'); ?&gt;/js/jquery.validationEngine.js"&gt;&lt;/script&gt; &lt;script&gt; jQuery(document).ready(function(){ jQuery("#formID").validationEngine('attach'); }); &lt;/script&gt; &lt;form id="formID" class="rmular" method="post" action=""&gt; &lt;fieldset&gt; &lt;legend&gt; IP Address &lt;/legend&gt; &lt;label&gt; &lt;span&gt;IP: &lt;/span&gt; &lt;input value="192.168.3." class="validate[required,custom[ipv4]] text-input" type="text" name="ip" id="ip" /&gt; &lt;/label&gt; &lt;/fieldset&gt;&lt;input class="submit" type="submit" value="Validate &amp;amp; Send the form!"/&gt;&lt;hr/&gt; &lt;/form&gt; &lt;div class="row"&gt; &lt;?php $pageClass = 'span9'; if(opt('sidebar_position') == 0) $pageClass = 'span12'; if(opt('sidebar_position') == 1) $pageClass .= ' blog_right'; ?&gt; &lt;div class="&lt;?php echo $pageClass; ?&gt;"&gt; &lt;?php if (have_posts()) { while (have_posts()) { the_post(); ?&gt; &lt;div id="post-&lt;?php the_ID(); ?&gt;" &lt;?php post_class(); ?&gt; &gt; &lt;?php the_content(); ?&gt; &lt;/div&gt; &lt;?php }//While have_posts }//If have_posts ?&gt; &lt;!--Comments--&gt; &lt;?php comments_template('', true); ?&gt; &lt;/div&gt; &lt;!--Sidebar--&gt; &lt;?php if(opt('sidebar_position') != 0) get_sidebar(); ?&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;?php get_footer(); ?&gt; </code></pre> <p>I have tried everything but I can't seem to figure out how to make it work, I have also checked other stackoverflow answers on same situation but what error they are telling I cannot find them in my code please help me out because I need IPV4 validation for my site and I can't seem to figure out why it is not working.</p> </div>

Wordpress将样式表附加到自定义模板页面

<div class="post-text" itemprop="text"> <p>Hi I just want to attach a style sheet to my custom template page. I don't want to add it to my header.php file. I want it inside my template file. How do I do this ? </p> <p>I have added my custom template code below. I want to attach a external style sheet and I want to use it inside my custom template file. </p> <p>Thanks in advance :)</p> <pre><code>&lt;?php /* Template Name: User Registration */ ?&gt; &lt;!DOCTYPE html&gt; &lt;!--[if lt IE 7]&gt; &lt;html class="lt-ie9 lt-ie8 lt-ie7" lang="en"&gt; &lt;![endif]--&gt; &lt;!--[if IE 7]&gt; &lt;html class="lt-ie9 lt-ie8" lang="en"&gt; &lt;![endif]--&gt; &lt;!--[if IE 8]&gt; &lt;html class="lt-ie9" lang="en"&gt; &lt;![endif]--&gt; &lt;!--[if gt IE 8]&gt;&lt;!--&gt; &lt;html lang="en"&gt; &lt;!--&lt;![endif]--&gt; &lt;head&gt; &lt;meta charset="utf-8"&gt; &lt;meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"&gt; &lt;title&gt;Registration Form&lt;/title&gt; &lt;link rel="stylesheet" href="css/registration-style.css"&gt; &lt;!--[if lt IE 9]&gt;&lt;script src="//html5shim.googlecode.com/svn/trunk/html5.js"&gt;&lt;/script&gt; &lt;![endif]--&gt; &lt;/head&gt; &lt;body&gt; &lt;div class="container"&gt; &lt;section class="register"&gt; &lt;h1&gt;Register on iMomen&lt;/h1&gt; &lt;form method="post" action="index.html"&gt; &lt;div class="reg_section personal_info"&gt; &lt;h3&gt;Your Personal Information&lt;/h3&gt; &lt;input type="text" name="username" value="" placeholder="Your Desired Username"&gt; &lt;input type="text" name="email" value="" placeholder="Your E-mail Address"&gt; &lt;/div&gt; &lt;div class="reg_section password"&gt; &lt;h3&gt;Your Password&lt;/h3&gt; &lt;input type="password" name="password" value="" placeholder="Your Password"&gt; &lt;input type="password" name="confirm" value="" placeholder="Confirm Password"&gt; &lt;/div&gt; &lt;div class="reg_section password"&gt; &lt;h3&gt;Your Address&lt;/h3&gt; &lt;select&gt; &lt;option value=""&gt;Egypt&lt;/option&gt; &lt;option value=""&gt;Palastine&lt;/option&gt; &lt;option value=""&gt;Syria&lt;/option&gt; &lt;option value=""&gt;Italy&lt;/option&gt; &lt;/select&gt; &lt;textarea name="textarea" id=""&gt;Your Full Address&lt;/textarea&gt; &lt;/div&gt; &lt;p class="terms"&gt; &lt;label&gt; &lt;input type="checkbox" name="remember_me" id="remember_me"&gt; I accept &lt;a href="http://www.imomen.com/"&gt;iMomen&lt;/a&gt;Terms &amp; Condition &lt;/label&gt; &lt;/p&gt; &lt;p class="submit"&gt;&lt;input type="submit" name="commit" value="Sign Up"&gt;&lt;/p&gt; &lt;/form&gt; &lt;/section&gt; &lt;/div&gt; &lt;section class="about"&gt; Download it for free from &lt;a href="http://www.imomen.com/"&gt;iMomen&lt;/a&gt; &lt;/section&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> </div>

自定义wordpress主题,图片不显示?

<div class="post-text" itemprop="text"> <p>So I attempted to look for a solution: <a href="https://stackoverflow.com/questions/6924722/custom-wordpress-theme-layout-images-not-displaying">custom wordpress theme: layout images not displaying</a> </p> <p>It did not work for me. </p> <p><a href="https://i.stack.imgur.com/Ox11r.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ox11r.png" alt="enter image description here"></a></p> <p>My directory for my theme is </p> <pre><code>wp-content/themes/fearnothing/ </code></pre> <p>and consist of these files</p> <pre><code>/css(folder) /js (folder) /images (folder) header.php index.php function.php footer.php style.css hrtbrk.gif hrtbrk.png </code></pre> <p>css folder contains </p> <pre><code>fearnothing.css </code></pre> <p>js folder is empty</p> <pre><code>fearnothing.js </code></pre> <p>My header.php has the following code: </p> <pre><code> &lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;example title&lt;/title&gt; &lt;?php wp_head(); ?&gt; &lt;/head&gt; &lt;body&gt; &lt;img class ="nightsky" src="wp-content/themes/fearnothing/hrtbrk.png" alt ="3"&gt; </code></pre> <p>functions.php</p> <pre><code>&lt;?php function fearnothing_script_enqueue(){ wp_enqueue_style('customstyle', get_template_directory_uri().'/css/fearnothing.css',array(), '1.1.2', 'all'); } add_action('wp_enqueue_scripts', 'fearnothing_script_enqueue'); </code></pre> <p>fearnothing.css</p> <pre><code>html,body{ background: black; color: #8c0707; font-family: Courier,Courier New,Lucida Sans Typewriter,Lucida Typewriter,monospace; font-size: 10px; cursor: pointer; } .nightsky{ position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 500px; height: 500px; } </code></pre> <p>I'm trying to add the gif but it did not work. so I tried an image instead. I tested my code offline with html and it works fine? </p> <p><strong>EDIT</strong> I added a images folder to my theme where the theme would be located.</p> </div>

如何使用HTML和CSS自定义WordPress中的帖子?

<div class="post-text" itemprop="text"> <p>I've tried to find the information on the Internet and stackoverflow, but there is nothing about it. </p> <p>So I've migrated my website(html,css,js) to WordPress(index.php,header.php,footer.php etc) and I can't figure out how to change a view of posts before adding them to my site.</p> <p>I can see 4 ways of doing that:</p> <p>1)Download WP plugin to add and customize posts. But I'll only be able to customize it by using the admin area, I can't do it with HTML and CSS, very few options(color,picture etc)</p> <p>2)Create a separate file(sidebar.php) and add to it my posts. But if my client wants to add posts himself, he won't be able to do that, and again very few options. <a href="http://prntscr.com/lhmhoy" rel="nofollow noreferrer">example</a></p> <p>3)Use the standard "Posts-Add New" in the admin area. But in that case, I can't figure out how to cusomize it, what shall I do?Go into the "wp-admin" folder which is in the WordPress file and find HTML,CSS which are responsible for changing posts view and change them? Because if I don't change them, this happens <a href="http://prntscr.com/lhmk36" rel="nofollow noreferrer">example</a></p> <p>4) Migrate my website to WordPress by using a blank theme <a href="https://underscores.me/" rel="nofollow noreferrer">example</a>. There is a posts page(posts.php,I don't remeber how it's called exactly) and try to find a code snippet which is responsible for a posts view</p> <p>My question is how to change a view of posts in WordPress? And this is what I want to make <a href="http://prntscr.com/lhmm7d" rel="nofollow noreferrer">example</a> <a href="http://www.themechampion.com/demo/industriallive/" rel="nofollow noreferrer">link to the website</a></p> </div>

如何将活动的css类添加到Wordpress中的链接

<div class="post-text" itemprop="text"> <p>how to add active css class to a link in Wordpress such that the active menu li will have different color when that link is viewed.</p> <pre><code>&lt;ul&gt; &lt;li class=""&gt;&lt;a href="/news"&gt;News&lt;/a&gt;&lt;/li&gt; &lt;li class="devider"&gt;&amp;nbsp;&lt;/li&gt; &lt;li class=""&gt;&lt;a href="/about"&gt;About Us&lt;/a&gt;&lt;/li&gt; &lt;li class="devider"&gt;&amp;nbsp;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Partners&lt;/a&gt;&lt;/li&gt; &lt;li class="devider"&gt;&amp;nbsp;&lt;/li&gt; &lt;li&gt;&lt;a href="/vacancy"&gt;Careers&lt;/a&gt;&lt;/li&gt; &lt;li class="devider"&gt;&amp;nbsp;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="/webmail"&gt;Email Login&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; </code></pre> </div>

Wordpress查找根文件并添加自定义代码

<div class="post-text" itemprop="text"> <p>I am trying to add some custom code in WordPress site. I can not find the root file. It seems it's the index.php in the root because when I delete it the site goes down. However, when I put my custom code in there I can't see it. Not even html. Is the htaccess overriding or what's going on here?</p> <p>Here is the htacess file code:</p> <pre><code># BEGIN NON_LSCACHE ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## ### marker MINIFY start ### &lt;IfModule mod_rewrite.c&gt; RewriteEngine on RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} ^(.*)/min/(\w+)\.(css|js)$ RewriteCond %1/wp-content/cache/$2/$1.$2 -f RewriteRule min/(\w+)\.(css|js) wp-content/cache/$2/$1.$2 [L] &lt;/IfModule&gt; ### marker MINIFY end ### ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## # END NON_LSCACHE # BEGIN LSCACHE ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## &lt;IfModule LiteSpeed&gt; RewriteEngine on CacheLookup on RewriteRule .* - [E=Cache-Control:no-autoflush] RewriteRule ^min/\w+\.(css|js) - [E=cache-control:no-vary] ### marker CACHE RESOURCE start ### RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php - [E=cache-control:max-age=3600] ### marker CACHE RESOURCE end ### ### marker FAVICON start ### RewriteRule favicon\.ico$ - [E=cache-control:max-age=86400] ### marker FAVICON end ### &lt;/IfModule&gt; ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## # END LSCACHE # BEGIN WordPress &lt;IfModule mod_rewrite.c&gt; RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] &lt;/IfModule&gt; # END WordPress </code></pre> </div>

如何在wordpress中的front-page.php中正确使用插件

<div class="post-text" itemprop="text"> <p>I have created a front-page.php page for my wordpress site. This page contains fully customised css and js. So it doesn't use anything from the installed theme. I am not using: </p> <pre><code>&lt;?php get_header(); ?&gt; &lt;?php get_sidebar(); ?&gt; &lt;?php get_footer(); ?&gt; </code></pre> <p>Now I have installed a plugin (<a href="https://wordpress.org/plugins/wp-tiles/" rel="nofollow">wp-tiles</a>) and would like to use this on the front-page.php</p> <p>By adding the code to display the tiles</p> <pre><code>&lt;?php echo do_shortcode( '[wp-tiles post_type = "attachment,product" orderby = "rand" order = "DESC" grids = "Featured" small_screen_grid = "Featured" breakpoint = "800" padding = "5" pagination = "ajax" grid_selector_color = "#444444"]' );?&gt; </code></pre> <p>It tries to show the tiles but does so incorrectly as I'm assuming the plugin css and js is missing.</p> <p>Is there anyway to automatically add the plugins required files without manually adding the paths to the front-page.php?</p> <p>Thanks</p> </div>

Divi子主题拒绝覆盖父CSS - body

<div class="post-text" itemprop="text"> <p>if this question is duplicate of some other, i do apologize. But i am not able to find the right answer. I am building some web page. I use Divi theme via WordPress. I've created child theme of Divi theme. I've attached custom style.css via function.php in child theme:</p> <pre><code>add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' ); function enqueue_parent_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); } </code></pre> <p>But when I want to change some main elements, like body{}, it does not override parent style. Mine actual customization process is:</p> <ol> <li>Find which id/class have the element, which i wanna change.</li> <li>Via additional CSS in the theme customize the element with class/id I've found.</li> <li>Hope that it will have the exact behavior I want.</li> </ol> <p>I can't find any good source to learn how this all parent-&gt;child customization works and I struggle with basic things. Can you help me, how to easily change many elements of parent's theme? Any help would be nice. Thank you guys!</p> <p>Edit: There is code from site: <a href="https://i.stack.imgur.com/DSSjM.png" rel="nofollow noreferrer">site_inspect</a></p> <p>And there is code in my css:</p> <pre><code>body.custom-background { background-image: url("images/pozadie_B5.png"); background-color: black; background-repeat: no-repeat; background-attachment: fixed; background-position: center -25%; } </code></pre> <p>When i place this in Additional CSS in THEME customizer, then it works. But in style.css in my child theme it does not.</p> </div>

是否可以在WordPress中使用没有链接的标题创建自定义菜单?

<div class="post-text" itemprop="text"> <p>We are building a theme on WordPress 3.5.1 and we created two custom menus - one for the header and one for the footer. In the footer the titles are not linkable, therefore we created custom links with href "#" and then changed the href to "". The result are empty links with <code>&lt;a&gt;</code>. I know it's possible to change the cursor of these empty links with CSS:</p> <pre><code>.footer-content #sitemap ul.menu &gt; li.menu-item &gt; a { cursor: text; } </code></pre> <p>and I also found out a way to remove these empty links with JavaScript and jQuery:</p> <pre><code>$('.footer-content #sitemap ul.menu &gt; li.menu-item &gt; a').each(function() { // If href is empty, remove &lt;a&gt; element. var href = $(this).attr('href'); var href_length = 0; if (!(typeof href === 'undefined')) { var href_length = href.length; } if (href_length === 0) { var contents = $(this).contents(); $(this).replaceWith(contents); } }); </code></pre> <p>(the footer menu is inside the <code>.footer-content #sitemap</code> elements:</p> <pre><code>&lt;div class="footer-content"&gt; &lt;div id="sitemap" class="not_mobile"&gt; </code></pre> <p>)</p> <p>but is it possible to remove the empty <code>&lt;a&gt;</code> elements from the HTML without using JavaScript? The function that creates the footer menu is:</p> <pre><code>&lt;?php wp_nav_menu( array( 'theme_location' =&gt; 'footer_menu' ) ); ?&gt; </code></pre> <p>Thanks, Uri @ Initech.</p> </div>

Wordpress在播放器旁边播放自定义下载按钮,而不是下载

<div class="post-text" itemprop="text"> <p>I asked a friend to add a download button next to the wordpress audio player so that I could easily download each soundtrack.</p> <p>he wrote these lines of codes in the foother.php for me:</p> <pre><code>function createMejsDownload(){ var href = jQuery('.wp-playlist-playing a').attr('href'); var controllerWidth = jQuery('.mejs-inner').width(); var controllerWidth2 = controllerWidth-35; var html = '&lt;a href="'+href+'" class="mejs-download"&gt;&lt;/a&gt;'; jQuery('.mejs-controls').css('width', controllerWidth2+'px'); jQuery('.mejs-inner').append(html); var href = jQuery('.wp-playlist-playing a').attr('href'); var controllerWidth = jQuery('.mejs-inner').width(); var controllerWidth2 = controllerWidth-35; jQuery('.mejs-controls').css('width', controllerWidth2+'px'); jQuery('.mejs-time-rail').css('width', (controllerWidth2-174)+'px'); jQuery('.mejs-time-rail .mejs-time-total.mejs-time-slider').css('width', controllerWidth2-184); jQuery('.mejs-download').attr('href', href); jQuery('.mejs-controls').trigger('click'); setInterval(function(){ var href = jQuery('.wp-playlist-playing a').attr('href'); var controllerWidth = jQuery('.mejs-inner').width(); var controllerWidth2 = controllerWidth-35; jQuery('.mejs-controls').css('width', controllerWidth2+'px'); jQuery('.mejs-time-rail').css('width', (controllerWidth2-174)+'px'); jQuery('.mejs-time-rail .mejs-time-total.mejs-time-slider').css('width', controllerWidth2-184); jQuery('.mejs-download').attr('href', href); jQuery('.mejs-controls').trigger('click'); }, 1); } </code></pre> <p>The problem is every time I click on the download button it just plays the mp3 file in a new tab instead of downloading. I guess I heard he told me it had something to do with "force_dll" or something but he had no idea how to do that.</p> <p>I googled for the force_dll issue and I came up with a solution for Google Chrome. it seems like holding alt while clicking on the download button can actually download the file in google chrome but I don't really wanna do things like that! Besides I don't wanna use third party applications as well.</p> <p>Any help would be appreciated!</p> </div>

WordPress自定义表单

<div class="post-text" itemprop="text"> <p>I am working on a WordPress site based on Customized cakes. I am stuck with one element where the customer can make his own cake, i.e. can add Base, Toppings, Layers. Its like like PizzaHut or Dominos. where on-click of 1 topping its image will occur, on-click of 1 Base its image will occur and furthermore. I have done with HTML, JS where on-click I am able to change images of cake, but its all together a different element &amp; this one is different. I am looking for code suggestion or any links which can be helpful to me. There is a plugin Gravity form but I am looking for other option. Here A customer can create his Cake by adding Base, Toppings, Layers.</p> </div>

将自定义主页上载到Wordpress

<div class="post-text" itemprop="text"> <p>I've finally created the perfect splash screen/landing page/home page whatever you may call it for my site. </p> <p>But, now I'm stuck on how to upload this design to WordPress. Because js, css images etc are in separate files &amp; folders and not inline. So, actually how do I go about uploading this custom html (landingpage.html) and that it only retrieves the designated css/javascript/fonts/images/etc that I've created and not the ones on the site. </p> </div>

Wordpress上的自定义帖子没有显示

<div class="post-text" itemprop="text"> <p>I have added <a href="https://en-gb.wordpress.org/plugins/custom-post-type-ui/" rel="nofollow noreferrer">CPT UI</a> and <a href="https://en-gb.wordpress.org/plugins/advanced-custom-fields/" rel="nofollow noreferrer">Custom Fields</a> plugins to my Wordpress set up. I am trying to add custom posts onto a portfolio page and have two issues that I think must be linked.</p> <p>Firstly, I cannot get thumbnail images to display on the portfolio page. I have added</p> <pre><code>"add_theme_support( 'post-thumbnails' );" </code></pre> <p>to my functions.php file as instructed. The "add_theme_support( 'menus' );" function works fine.</p> <p>Featured images is enabled and displaying when I add the Portfolio Piece.</p> <p>In the absence of the image I added a text link which did display but the link address is</p> <pre><code>"http://localhost/localwp.dev/2018/07/13/hello-world/" </code></pre> <p>and not "<a href="http://localhost/localwp.dev/portfolio_wadn/post/" rel="nofollow noreferrer">http://localhost/localwp.dev/portfolio_wadn/post/</a>" </p> <p>So I know I am missing something because the Portfolio page is not finding the right slug/address to link to the post. I think it must be the way I've set up either the Custom Fields or CPT UI settings but I can't find anything that solves the issue. </p> <p>Can anyone help? Code below.</p> <p><strong>functions.php code:</strong></p> <pre><code>&lt;?php add_theme_support( 'menus' ); add_theme_support( 'post-thumbnails' ); function register_theme_menus () { register_nav_menus( array( 'primary-menu' =&gt; __( 'Primary Menu') ) ); } add_action( 'init', 'register_theme_menus'); function wadn_theme_styles() { wp_enqueue_style( 'foundation_css', get_template_directory_uri() . '/css/foundation.css' ); wp_enqueue_style( 'googlefont_css', 'http://fonts.googleapis.com/css? family=Asap:400,700,400italic,700italic' ); wp_enqueue_style( 'main_css', get_template_directory_uri() . '/style.css' ); } add_action( 'wp_enqueue_scripts', 'wadn_theme_styles' ); function wadn_theme_js() { wp_enqueue_script( 'modernizr_js', get_template_directory_uri() . '/js/modernizr.js', '', '', false ); wp_enqueue_script( 'foundation_js', get_template_directory_uri() . '/js/foundation.min.js', array('jquery'), '', true ); wp_enqueue_script( 'app_js', get_template_directory_uri() . '/js/app.js', array('jquery', 'foundation_js'), '', true ); } add_action( 'wp_enqueue_scripts', 'wadn_theme_js' ); ?&gt; </code></pre> <p><strong>page-portfolio.php code:</strong></p> <pre><code>&lt;?php /* Template Name: Portfolio Page */ ?&gt; &lt;?php get_header(); ?&gt; &lt;section class="row"&gt; &lt;div class="small-12 columns text-center"&gt; &lt;div class="leader"&gt; &lt;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&gt; &lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt; &lt;?php the_content(); ?&gt; &lt;?php endwhile; endif; ?&gt; &lt;/div&gt; &lt;/div&gt; &lt;/section&gt; &lt;?php $args = array( 'post-type' =&gt; 'portfolio_wadn' ); $query = new WP_Query ( $args ); ?&gt; &lt;section class="row no-max pad"&gt; &lt;?php if( $query-&gt;have_posts() ) : while ( $query-&gt;have_posts() ) : $query-&gt;the_post(); ?&gt; &lt;div class="small-6 medium-4 large-3 columns grid-item"&gt; &lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;Test&lt;/a&gt; &lt;/div&gt; &lt;?php endwhile; endif; wp_reset_postdata(); ?&gt; &lt;/section&gt; &lt;?php get_footer(); ?&gt; </code></pre> <p><strong>Register Post Type Code</strong> </p> <pre><code>function cptui_register_my_cpts_portfolio_wadn() { /** * Post Type: portfolio_wadn. */ $labels = array( "name" =&gt; __( "portfolio_wadn", "" ), "singular_name" =&gt; __( "Portfolio Piece", "" ), ); $args = array( "label" =&gt; __( "portfolio_wadn", "" ), "labels" =&gt; $labels, "description" =&gt; "", "public" =&gt; true, "publicly_queryable" =&gt; true, "show_ui" =&gt; true, "show_in_rest" =&gt; false, "rest_base" =&gt; "", "has_archive" =&gt; false, "show_in_menu" =&gt; true, "show_in_nav_menus" =&gt; true, "exclude_from_search" =&gt; false, "capability_type" =&gt; "post", "map_meta_cap" =&gt; true, "hierarchical" =&gt; false, "rewrite" =&gt; array( "slug" =&gt; "portfolio_wadn", "with_front" =&gt; true ), "query_var" =&gt; true, "supports" =&gt; array( "title", "editor", "thumbnail", "custom-fields", "page-attributes", "post-formats" ), ); register_post_type( "portfolio_wadn", $args ); } add_action( 'init', 'cptui_register_my_cpts_portfolio_wadn' ); </code></pre> </div>

在wordpress中使用数据表用于现有的html表(使用数据库连接)

<div class="post-text" itemprop="text"> <p>I currently have a wordpress site with a section that has a main html table which has a basic header of 7 columns and the rows are all filled from database variable. It works perfectly now, where if I add 8 more records to the database, it pulls those and displays them in the table with no problem.</p> <p>I've just been asked to make this full table sortable, filterable and searchable. I figured datatables would be the best and simplest way, but I've never used it in a wordpress site so I don't know where I've misstepped. After adding the code for the datatable, the page loads without errors but it's the same html table and none of the datatable functions are taking place. </p> <p>Here's the full code:</p> <pre><code>$server = "localhost"; $user = "//omitted"; $pw = "//omitted"; $db = "//omitted"; $connect = mysqli_connect($server, $user, $pw, $db); if ($connect-&gt;connect_error) { die("Connection failed: " . $conn-&gt;connect_error); }else{ //echo'success!'; } $query1 = "SELECT * FROM staging;"; $result1 = mysqli_query($connect,$query1); ?&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;Dashboard&lt;/title&gt; &lt;link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.15/css/jquery.dataTables.min.css" /&gt; &lt;/head&gt; &lt;body&gt; &lt;div class="dashboardTable" style="overflow-x:auto; width:900px;"&gt; &lt;table id="mytable" style="border: 1px solid #468BBD; border-collapse: collapse; width:100%; margin:0 auto;"&gt; &lt;thead&gt; &lt;tr style="border: 1px solid #468BBD;"&gt; &lt;th style="padding-left: 10px; padding-right:10px; border: 1px solid #468BBD;"&gt;Service Preformed&lt;/th&gt; &lt;th style="padding-left: 10px; padding-right:10px; border: 1px solid #468BBD;"&gt;Work Order Number&lt;/th&gt; &lt;th style="padding-left: 10px; padding-right:10px; border: 1px solid #468BBD;"&gt;Date&lt;/th&gt; &lt;th style="padding-left: 10px; padding-right:10px; border: 1px solid #468BBD;"&gt;Utility&lt;/th&gt; &lt;th style="padding-left: 10px; padding-right:10px; border: 1px solid #468BBD;"&gt;Service Name&lt;/th&gt; &lt;th style="padding-left: 10px; padding-right:10px; border: 1px solid #468BBD;"&gt;Address&lt;/th&gt; &lt;th style="padding-left: 10px; padding-right:10px; border: 1px solid #468BBD;"&gt;Serial No.&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;?php while($row = mysqli_fetch_array($result1)){ ?&gt; &lt;tr&gt; &lt;td style="border-collapse: collapse; padding-left: 10px; padding-right:10px;"&gt;&lt;? echo $row['workOrderType2'];?&gt;&amp;nbsp;&lt;/td&gt; &lt;td style="border-collapse: collapse; padding-left: 10px; padding-right:10px;"&gt;&lt;? echo $row['workOrderNum'];?&gt;&amp;nbsp;&lt;/td&gt; &lt;td style="border-collapse: collapse; padding-left: 10px; padding-right:10px;"&gt;&lt;? echo $row['date'];?&gt;&amp;nbsp;&lt;/td&gt; &lt;td style="border-collapse: collapse; padding-left: 10px; padding-right:10px;"&gt;&lt;? echo $row['utility'];?&gt;&amp;nbsp;&lt;/td&gt; &lt;td style="border-collapse: collapse; padding-left: 10px; padding-right:10px;"&gt;&lt;? echo $row['serviceName'];?&gt;&amp;nbsp;&lt;/td&gt; &lt;td style="border-collapse: collapse; padding-left: 10px; padding-right:10px;"&gt;&lt;? echo $row['address'];?&gt;&amp;nbsp;&lt;/td&gt; &lt;td style="border-collapse: collapse; padding-left: 10px; padding-right:10px;"&gt;&lt;?php echo '&lt;a href="/dashboard-display?id='.$row['serialNumber'].'"&gt;'.$row['serialNumber'].'&lt;/a&gt;'; ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?}?&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/div&gt; &lt;script type="text/javascript" src="https://cdn.datatables.net/1.10.15/js/jquery.dataTables.min.js"&gt; &lt;/script&gt; &lt;script type="text/javascript"&gt; $(document).ready( function () { $('#mytable').DataTable(); } ); &lt;/script&gt; </code></pre> <p>I'm not very familiar with the datatables plugin but I feel like the code is correct there, I'm just wondering if the wordpress factor is the issue. Is there a reason the code isn't breaking my page but it's not displaying the datatable?</p> <p>UPDATE:</p> <p>Photo of sidescroll issue with more columns</p> <p><a href="https://i.stack.imgur.com/BE52k.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BE52k.png" alt="enter image description here"></a></p> </div>

MySQL 8.0.19安装教程(windows 64位)

话不多说直接开干 目录 1-先去官网下载点击的MySQL的下载​ 2-配置初始化的my.ini文件的文件 3-初始化MySQL 4-安装MySQL服务 + 启动MySQL 服务 5-连接MySQL + 修改密码 先去官网下载点击的MySQL的下载 下载完成后解压 解压完是这个样子 配置初始化的my.ini文件的文件 ...

Python+OpenCV计算机视觉

Python+OpenCV计算机视觉系统全面的介绍。

Vue.js 2.0之全家桶系列视频课程

基于新的Vue.js 2.3版本, 目前新全的Vue.js教学视频,让你少走弯路,直达技术前沿! 1. 包含Vue.js全家桶(vue.js、vue-router、axios、vuex、vue-cli、webpack、ElementUI等) 2. 采用笔记+代码案例的形式讲解,通俗易懂

navicat(内含激活码)

navicat支持mysql的可视化操作,内涵激活码,不用再忍受弹框的痛苦。

HTML期末大作业

这是我自己做的HTML期末大作业,花了很多时间,稍加修改就可以作为自己的作业了,而且也可以作为学习参考

150讲轻松搞定Python网络爬虫

【为什么学爬虫?】 &nbsp; &nbsp; &nbsp; &nbsp;1、爬虫入手容易,但是深入较难,如何写出高效率的爬虫,如何写出灵活性高可扩展的爬虫都是一项技术活。另外在爬虫过程中,经常容易遇到被反爬虫,比如字体反爬、IP识别、验证码等,如何层层攻克难点拿到想要的数据,这门课程,你都能学到! &nbsp; &nbsp; &nbsp; &nbsp;2、如果是作为一个其他行业的开发者,比如app开发,web开发,学习爬虫能让你加强对技术的认知,能够开发出更加安全的软件和网站 【课程设计】 一个完整的爬虫程序,无论大小,总体来说可以分成三个步骤,分别是: 网络请求:模拟浏览器的行为从网上抓取数据。 数据解析:将请求下来的数据进行过滤,提取我们想要的数据。 数据存储:将提取到的数据存储到硬盘或者内存中。比如用mysql数据库或者redis等。 那么本课程也是按照这几个步骤循序渐进的进行讲解,带领学生完整的掌握每个步骤的技术。另外,因为爬虫的多样性,在爬取的过程中可能会发生被反爬、效率低下等。因此我们又增加了两个章节用来提高爬虫程序的灵活性,分别是: 爬虫进阶:包括IP代理,多线程爬虫,图形验证码识别、JS加密解密、动态网页爬虫、字体反爬识别等。 Scrapy和分布式爬虫:Scrapy框架、Scrapy-redis组件、分布式爬虫等。 通过爬虫进阶的知识点我们能应付大量的反爬网站,而Scrapy框架作为一个专业的爬虫框架,使用他可以快速提高我们编写爬虫程序的效率和速度。另外如果一台机器不能满足你的需求,我们可以用分布式爬虫让多台机器帮助你快速爬取数据。 &nbsp; 从基础爬虫到商业化应用爬虫,本套课程满足您的所有需求! 【课程服务】 专属付费社群+每周三讨论会+1v1答疑

三个项目玩转深度学习(附1G源码)

从事大数据与人工智能开发与实践约十年,钱老师亲自见证了大数据行业的发展与人工智能的从冷到热。事实证明,计算机技术的发展,算力突破,海量数据,机器人技术等,开启了第四次工业革命的序章。深度学习图像分类一直是人工智能的经典任务,是智慧零售、安防、无人驾驶等机器视觉应用领域的核心技术之一,掌握图像分类技术是机器视觉学习的重中之重。针对现有线上学习的特点与实际需求,我们开发了人工智能案例实战系列课程。打造:以项目案例实践为驱动的课程学习方式,覆盖了智能零售,智慧交通等常见领域,通过基础学习、项目案例实践、社群答疑,三维立体的方式,打造最好的学习效果。

基于STM32的电子时钟设计

时钟功能 还有闹钟功能,温湿度功能,整点报时功能 你值得拥有

学生成绩管理系统(PHP + MYSQL)

做的是数据库课程设计,使用的php + MySQL,本来是黄金搭配也就没啥说的,推荐使用wamp服务器,里面有详细的使用说明,带有界面的啊!呵呵 不行的话,可以给我留言!

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

程序员的兼职技能课

获取讲师答疑方式: 在付费视频第一节(触摸命令_ALL)片头有二维码及加群流程介绍 限时福利 原价99元,今日仅需39元!购课添加小助手(微信号:itxy41)按提示还可领取价值800元的编程大礼包! 讲师介绍: 苏奕嘉&nbsp;前阿里UC项目工程师 脚本开发平台官方认证满级(六级)开发者。 我将如何教会你通过【定制脚本】赚到你人生的第一桶金? 零基础程序定制脚本开发课程,是完全针对零脚本开发经验的小白而设计,课程内容共分为3大阶段: ①前期将带你掌握Q开发语言和界面交互开发能力; ②中期通过实战来制作有具体需求的定制脚本; ③后期将解锁脚本的更高阶玩法,打通任督二脉; ④应用定制脚本合法赚取额外收入的完整经验分享,带你通过程序定制脚本开发这项副业,赚取到你的第一桶金!

实用主义学Python(小白也容易上手的Python实用案例)

原价169,限时立减100元! 系统掌握Python核心语法16点,轻松应对工作中80%以上的Python使用场景! 69元=72讲+源码+社群答疑+讲师社群分享会&nbsp; 【哪些人适合学习这门课程?】 1)大学生,平时只学习了Python理论,并未接触Python实战问题; 2)对Python实用技能掌握薄弱的人,自动化、爬虫、数据分析能让你快速提高工作效率; 3)想学习新技术,如:人工智能、机器学习、深度学习等,这门课程是你的必修课程; 4)想修炼更好的编程内功,优秀的工程师肯定不能只会一门语言,Python语言功能强大、使用高效、简单易学。 【超实用技能】 从零开始 自动生成工作周报 职场升级 豆瓣电影数据爬取 实用案例 奥运冠军数据分析 自动化办公:通过Python自动化分析Excel数据并自动操作Word文档,最终获得一份基于Excel表格的数据分析报告。 豆瓣电影爬虫:通过Python自动爬取豆瓣电影信息并将电影图片保存到本地。 奥运会数据分析实战 简介:通过Python分析120年间奥运会的数据,从不同角度入手分析,从而得出一些有趣的结论。 【超人气老师】 二两 中国人工智能协会高级会员 生成对抗神经网络研究者 《深入浅出生成对抗网络:原理剖析与TensorFlow实现》一书作者 阿里云大学云学院导师 前大型游戏公司后端工程师 【超丰富实用案例】 0)图片背景去除案例 1)自动生成工作周报案例 2)豆瓣电影数据爬取案例 3)奥运会数据分析案例 4)自动处理邮件案例 5)github信息爬取/更新提醒案例 6)B站百大UP信息爬取与分析案例 7)构建自己的论文网站案例

Java8零基础入门视频教程

这门课程基于主流的java8平台,由浅入深的详细讲解了java SE的开发技术,可以使java方向的入门学员,快速扎实的掌握java开发技术!

Python数据挖掘简易入门

&nbsp; &nbsp; &nbsp; &nbsp; 本课程为Python数据挖掘方向的入门课程,课程主要以真实数据为基础,详细介绍数据挖掘入门的流程和使用Python实现pandas与numpy在数据挖掘方向的运用,并深入学习如何运用scikit-learn调用常用的数据挖掘算法解决数据挖掘问题,为进一步深入学习数据挖掘打下扎实的基础。

零基础学C#编程—C#从小白到大咖

本课程从初学者角度出发,提供了C#从入门到成为程序开发高手所需要掌握的各方面知识和技术。 【课程特点】 1 由浅入深,编排合理; 2 视频讲解,精彩详尽; 3 丰富实例,轻松易学; 4 每章总结配有难点解析文档。 15大章节,228课时,1756分钟与你一同进步!

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

多功能数字钟.zip

利用数字电子计数知识设计并制作的数字电子钟(含multisim仿真),该数字钟具有显示星期、24小时制时间、闹铃、整点报时、时间校准功能

极简JAVA学习营第四期(报名以后加助教微信:eduxy-1)

想学好JAVA必须要报两万的培训班吗? Java大神勿入 如果你: 零基础想学JAVA却不知道从何入手 看了一堆书和视频却还是连JAVA的环境都搭建不起来 囊中羞涩面对两万起的JAVA培训班不忍直视 在职没有每天大块的时间专门学习JAVA 那么恭喜你找到组织了,在这里有: 1. 一群志同道合立志学好JAVA的同学一起学习讨论JAVA 2. 灵活机动的学习时间完成特定学习任务+每日编程实战练习 3. 热心助人的助教和讲师及时帮你解决问题,不按时完成作业小心助教老师的家访哦 上一张图看看前辈的感悟: &nbsp; &nbsp; 大家一定迫不及待想知道什么是极简JAVA学习营了吧,下面就来给大家说道说道: 什么是极简JAVA学习营? 1. 针对Java小白或者初级Java学习者; 2. 利用9天时间,每天1个小时时间; 3.通过 每日作业 / 组队PK / 助教答疑 / 实战编程 / 项目答辩 / 社群讨论 / 趣味知识抢答等方式让学员爱上学习编程 , 最终实现能独立开发一个基于控制台的‘库存管理系统’ 的学习模式 极简JAVA学习营是怎么学习的? &nbsp; 如何报名? 只要购买了极简JAVA一:JAVA入门就算报名成功! &nbsp;本期为第四期极简JAVA学习营,我们来看看往期学员的学习状态: 作业看这里~ &nbsp; 助教的作业报告是不是很专业 不交作业打屁屁 助教答疑是不是很用心 &nbsp; 有奖抢答大家玩的很嗨啊 &nbsp; &nbsp; 项目答辩终于开始啦 &nbsp; 优秀者的获奖感言 &nbsp; 这是答辩项目的效果 &nbsp; &nbsp; 这么细致的服务,这么好的氛围,这样的学习效果,需要多少钱呢? 不要1999,不要199,不要99,只要9.9 是的你没听错,只要9.9以上所有就都属于你了 如果你: 1、&nbsp;想学JAVA没有基础 2、&nbsp;想学JAVA没有整块的时间 3、&nbsp;想学JAVA没有足够的预算 还等什么?赶紧报名吧,抓紧抢位,本期只招300人,错过只有等时间待定的下一期了 &nbsp; 报名请加小助手微信:eduxy-1 &nbsp; &nbsp;

Python可以这样学(第一季:Python内功修炼)

董付国系列教材《Python程序设计基础》、《Python程序设计(第2版)》、《Python可以这样学》配套视频,讲解Python 3.5.x和3.6.x语法、内置对象用法、选择与循环以及函数设计与使用、lambda表达式用法、字符串与正则表达式应用、面向对象编程、文本文件与二进制文件操作、目录操作与系统运维、异常处理结构。

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

机器学习实战系列套餐(必备基础+经典算法+案例实战)

机器学习实战系列套餐以实战为出发点,帮助同学们快速掌握机器学习领域必备经典算法原理并结合Python工具包进行实战应用。建议学习顺序:1.Python必备工具包:掌握实战工具 2.机器学习算法与实战应用:数学原理与应用方法都是必备技能 3.数据挖掘实战:通过真实数据集进行项目实战。按照下列课程顺序学习即可! 课程风格通俗易懂,用最接地气的方式带领大家轻松进军机器学习!提供所有课程代码,PPT与实战数据,有任何问题欢迎随时与我讨论。

Java面试题大全(2020版)

发现网上很多Java面试题都没有答案,所以花了很长时间搜集整理出来了这套Java面试题大全,希望对大家有帮助哈~ 本套Java面试题大全,全的不能再全,哈哈~ 一、Java 基础 1. JDK 和 JRE 有什么区别? JDK:Java Development Kit 的简称,java 开发工具包,提供了 java 的开发环境和运行环境。 JRE:Java Runtime Environ...

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

深度学习原理+项目实战+算法详解+主流框架(套餐)

深度学习系列课程从深度学习基础知识点开始讲解一步步进入神经网络的世界再到卷积和递归神经网络,详解各大经典网络架构。实战部分选择当下最火爆深度学习框架PyTorch与Tensorflow/Keras,全程实战演示框架核心使用与建模方法。项目实战部分选择计算机视觉与自然语言处理领域经典项目,从零开始详解算法原理,debug模式逐行代码解读。适合准备就业和转行的同学们加入学习! 建议按照下列课程顺序来进行学习 (1)掌握深度学习必备经典网络架构 (2)深度框架实战方法 (3)计算机视觉与自然语言处理项目实战。(按照课程排列顺序即可)

HoloLens2开发入门教程

本课程为HoloLens2开发入门教程,讲解部署开发环境,安装VS2019,Unity版本,Windows SDK,创建Unity项目,讲解如何使用MRTK,编辑器模拟手势交互,打包VS工程并编译部署应用到HoloLens上等。

几率大的Redis面试题(含答案)

本文的面试题如下: Redis 持久化机制 缓存雪崩、缓存穿透、缓存预热、缓存更新、缓存降级等问题 热点数据和冷数据是什么 Memcache与Redis的区别都有哪些? 单线程的redis为什么这么快 redis的数据类型,以及每种数据类型的使用场景,Redis 内部结构 redis的过期策略以及内存淘汰机制【~】 Redis 为什么是单线程的,优点 如何解决redis的并发竞争key问题 Red...

MFC一站式终极全套课程包

该套餐共包含从C小白到C++到MFC的全部课程,整套学下来绝对成为一名C++大牛!!!

【数据结构与算法综合实验】欢乐连连看(C++ & MFC)案例

这是武汉理工大学计算机学院数据结构与算法综合实验课程的第三次项目:欢乐连连看(C++ & MFC)迭代开发代码。运行环境:VS2017。已经实现功能:开始游戏、消子、判断胜负、提示、重排、计时、帮助。

YOLOv3目标检测实战:训练自己的数据集

YOLOv3是一种基于深度学习的端到端实时目标检测方法,以速度快见长。本课程将手把手地教大家使用labelImg标注和使用YOLOv3训练自己的数据集。课程分为三个小项目:足球目标检测(单目标检测)、梅西目标检测(单目标检测)、足球和梅西同时目标检测(两目标检测)。 本课程的YOLOv3使用Darknet,在Ubuntu系统上做项目演示。包括:安装Darknet、给自己的数据集打标签、整理自己的数据集、修改配置文件、训练自己的数据集、测试训练出的网络模型、性能统计(mAP计算和画出PR曲线)和先验框聚类。 Darknet是使用C语言实现的轻型开源深度学习框架,依赖少,可移植性好,值得深入探究。 除本课程《YOLOv3目标检测实战:训练自己的数据集》外,本人推出了有关YOLOv3目标检测的系列课程,请持续关注该系列的其它课程视频,包括: 《YOLOv3目标检测实战:交通标志识别》 《YOLOv3目标检测:原理与源码解析》 《YOLOv3目标检测:网络模型改进方法》 敬请关注并选择学习!

u-boot-2015.07.tar.bz2

uboot-2015-07最新代码,喜欢的朋友请拿去

相关热词 c#跨线程停止timer c#批量写入sql数据库 c# 自动安装浏览器 c#语言基础考试题 c# 偏移量打印是什么 c# 绘制曲线图 c#框体中的退出函数 c# 按钮透明背景 c# idl 混编出错 c#在位置0处没有任何行
立即提问