I insert the following simple code in the functions.php to edit the message in the footer dashboard  "Thank you for creating with WordPress."  but nothing changes. I have Version 4.9.8 Do you think this code is not effected in version 4 ?   // Admin footer modification  function remove_footer_admin () {     echo '&lt;span id="footer-thankyou"&gt;Developed by &lt;a href="https://www.example.com" target="_blank"&gt;www.example.com&lt;/a&gt;&lt;/span&gt;'; } add_filter('admin_footer_text', 'remove_footer_admin');
123707
I've used following codes and no luck  1  //Hide admin footer from admin function change_footer_admin () {     return ' '; } add_filter('admin_footer_text', 'change_footer_admin', 9999);  function change_footer_version() {     return ' '; } add_filter( 'update_footer', 'change_footer_version', 9999);   2  function wpbeginner_remove_version() { return ''; } add_filter('the_generator', 'wpbeginner_remove_version');   3  function my_footer_shh() {     remove_filter( 'update_footer', 'core_update_footer' );  } add_action( 'admin_menu', 'my_footer_shh' );   Still I see those texts and version on my footer.   So what is the accurate way to remove these? I've added these code snippets into my child theme function.php
79066
I would like to modify the footer used by Elsevier's  without editing the class file directly.  I would like to eliminate the footer on the first page that states "Preprint submitted to Elsevier" (or the journal you specify with the optional \journal{} command).  Obviously I can just delete it from the class file but this change won't carry over to others without me providing an explicit modification of the class file.  I tried adding the modified lines of the class file to my .tex before the documentclass declaration, but they are ignored:  \def\ps@pprintTitle{% \let\@oddhead\@empty \let\@evenhead\@empty \def\@oddfoot{\footnotesize\itshape % line below modified from elsarticle.cls  \ifx\@journal\@empty Elsevier \else\@journal\fi\hfill\today}% \let\@evenfoot\@oddfoot} \documentclass{elsarticle}   Is there any way to remove that footer without editing the .cls file?
69389
I know  is actually trying to be helpful by formatting code, but it appears that the first line of code is always indented incorrectly (maybe it's just my OCD). After about three of their edited posts corrections, which somehow always got approved, I ended up going through just the first page of approved edits this user made, and corrected the same problem.   I don't think it would be correct to add a comment directed at the editor asking them to correct this issue. I don't see any way to flag a user for moderator review, or have the moderator contact them. I don't see a method to flag an edit for review. and I don't see any other way to contact this user to help them correct the problem and save a lot of people extra work.   What is the solution to this?
89773
I noticed that the email I received for a tag filter I created on  has the following footer:  Questions? Comments? Let us know on our [feedback site]().  Here's a screenshot of that part as I see it in my inbox:    Can the formatting of the link to Meta SE over the text &quot;feedback site&quot; be corrected?
38061
I know that I can use the following function to remove the version from all .css and .js files:  add_filter( 'style_loader_src', 'sdt_remove_ver_css_js', 9999 ); add_filter( 'script_loader_src', 'sdt_remove_ver_css_js', 9999 ); function sdt_remove_ver_css_js( $src ) {     if ( strpos( $src, 'ver=' ) )         $src = remove_query_arg( 'ver', $src );     return $src; }   But I have some files, for instance style.css, in the case of which I want to add a version in the following way:  function css_versioning() {     wp_enqueue_style( 'style',         get_stylesheet_directory_uri() . '/style.css' ,         false,         filemtime( get_stylesheet_directory() . '/style.css' ),         'all' ); }   But the previous function removes also this version. So the question is how to make the two work together?
29317
I'm setting up a child theme in WordPress and I can't make add_action to be fired within functions.php.  Functions.php is called and I can run code from within. Any idea on what I'm doing wrong?  $debug_msg = "Hi there!";  function test_function() {     error_log($debug_msg, 0);  } add_action('init', 'test_function', 20);
24291
I'm working on a WordPress site for my band and I'd like to mark every 3rd post on our blog page to have a special class applied to it, anybody have any pointers on how to achieve this? Any help is very very appreciated, thanks! rock n roll.
52829
I visited a question  and happened to get the newsletter registration prompt, which appears to have a styling issue in the email field:    The quick fix would be for the two fields to just have the same width (149px vs 200px), but it probably also makes sense at this point to just do away with the pseudo placeholders and just use the placeholder attribute universally, with a polyfill for legacy browsers.
23907
I want to put a copyright notice in the footer of a web site, but I think it's incredibly tacky for the year to be outdated. How would I make the year update automatically with  or ?
10941
The footmisc package is quite useful for changing the layout/style of a footnote text itself. Eg:  \renewcommand\footnotelayout{\scriptsize}   However, how do you change the size of the footnote number/counter (not in the body of your document, but in the footnote itself). I don't see any reference to this in the footmisc package.  Thanks!
105801
I have been trying but its not working.  but if i try   &lt;?php echo do_shortcode("[mimo]"); ?&gt; &lt;?php echo do_shortcode("[mibaby]"); ?&gt;   it will work fine.  But to apply it in post content using [mimo] [mibaby]  it won't work.  Here is the Functions i am using...  function wpb_custom_new_menuw() {   remove_filter( 'the_content', 'wpautop' ); } add_shortcode('mibaby', 'wpb_custom_new_menuw');    function wpb_custom_new_menu() {   remove_filter( 'the_excerpt', 'wpautop' ); } add_shortcode('mimo', 'wpb_custom_new_menu');
56795
is there a way to hook / filter or add action that would be printed in the wp-config file? lets say i want to add some simple command like "empty the trash" aka  define('EMPTY_TRASH_DAYS', 1 );    This should be changes in the wp-config but i want it to go with theme..  Any way to do that?
104572
I was having a conversation on one of the questions with a member of stackoverflow.com and I came across to edit my message and after clicking on edit I was presented with this.  You can see that the text inside the message box isn't visible at all and it's really hard to edit a message. It would be good if we can update the section to change the font color or the bg-color at least when the edit button is clicked. EDIT I was using Chrome Version 66.0.3359.139 (Official Build) (64-bit) at the time I was having the chat, and I don't have any themes installed in the browser.
85093
I've install the new Twenty Fourteen theme for WordPress. I don't know how add summary text of posts on my front page.  All old tutorials like  does not work with new theme.  Any suggestions on how to solve this
76700
I'm using the package fancyhdr to format my footers and headers, with my name in the header and a n of m pages format for the footer. Like so:  \pagestyle{fancy} \fancyhf{} % clear all header and footer fields \fancyhead[C]{Name} \fancyfoot[C]{\footnotesize Page \thepage\ of \pageref{LastPage}}   By default, the fancy page style only affects the pages after the first page. I know I can set the first page to the fancy page style using \thispagestyle, but I only want the first page to use the footer, not the header. Is there a way to create a custom style that just the first page will use?
93692
I just tried to edit a post in stackoverflow and got the following message:    It reads:  There is a pending suggested edit in the queue, try again in a few minutes.  First of all, I understand the message. However, I don't think the way it is displayed is the most appropriate one. Actually, once I clicked on the &quot;edit&quot; link I got a webpage which ONLY content was the one I mentioned before. I mean, that was the source code of the page... there are not even HTML tags there! There are many ways to provide this information without making the user hit the back button of the browser. I think some options that wouldn't require to reinvent the wheel are:  Showing a message similar like the one when you click on &quot;flag&quot; Showing a message in a similar way like the one you get when clicking on &quot;link&quot;  To make it a bit clearer, this are the steps I followed and the result I got:  Opened a question  Clicked on edit Expected result: Being able to edit the post OR having a friendly message explaining why I can not edit the post Real result: I got redirected to the URL &quot;https://stackoverflow.com/posts/[post_id]/edit&quot; which only contained the text mentioned before. To put it in PHP terms, the webpage displayed the result of an echo of the message, just that. So, after seeing an almost-white page, the user has to click on the back button of the browser to go back to the question.
99003
I'm having a problem placing footers on my document. On the first page it shows ok, but in the next pages it doesn't show at all. A bit of thinkering made me realize that the footer was indeed appearing, but out of page boundaries, so it wasn't visible. So the question is, how can I fix the height at which the footer is expected to appear? my code (part of it) is as follows:  \documentclass[10pt,letterpaper]{article} ....... \usepackage[margin=4.5cm,headheight=28pt]{geometry} \usepackage{fancyhdr} ....... \hoffset-2.8cm \voffset-2.3cm \setlength{\textwidth}{18cm} \setlength{\textheight}{22.5cm} \renewcommand{\baselinestretch}{1.2}  \pagestyle{fancy} \fancyhf{} \renewcommand{\headrulewidth}{1pt} %\renewcommand{\footrulewidth}{0.3pt} \fancyhead[C]{     \hspace*{-1cm}\begin{tabular}{&gt;{\centering\arraybackslash}p{3cm}b{12cm}&gt;{\centering\arraybackslash}p{3cm}}         % &amp; \\[0.05ex]         \hspace*{0.5cm}\includegraphics[width=2.5cm]{logo.png} &amp; \hspace*{-2.5cm} Some random text I need... &amp; \includegraphics[width=3cm]{LogoONAC.png} \\     \end{tabular}    } \fancyfoot[C]{ - Some text I need to appear as footer on every page - }   Thanks in advance!  EDIT:  Ok, so I've reproduced my problem as suggested by Werner. The code is as follows:  \documentclass{article}  \usepackage[margin=1.5cm,headheight=10pt]{geometry} \usepackage{fancyhdr,graphicx} \usepackage{lipsum} \usepackage{array}  \pagestyle{fancy} \fancyhf{} \renewcommand{\headrulewidth}{1pt} \fancyhead[C]{     \hspace*{-1cm}\begin{tabular}{&gt;{\centering\arraybackslash}p{3cm}b{12cm}&gt;{\centering\arraybackslash}p{3cm}}         % &amp; \\[0.05ex]         \hspace*{0.5cm}\includegraphics[width=2.5cm]{logo.png} &amp; \hspace*{-2.5cm}\begin{tabular}{&gt;{\centering\arraybackslash}b{17cm}} \\[5ex] \textbf{XXXXXXXXXXXXXXXX}\\ \textbf{XXXXXXXXXXXXXXXXXXXXXXX}\\ \textbf{\footnotesize XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX}\\ \end{tabular} &amp; \includegraphics[width=3cm]{LogoONAC.png} \\     \end{tabular}    }  \fancyfoot[C]{ - OPERADOR - }  \begin{document}  \lipsum[1-20]  \end{document}