WordPress

WordPress is a free and open-source content management system (CMS) based on PHP and MySQL for creating websites and blogs. Features include a plugin architecture, a template system and strong management, customization and search systems; through its dynamic presentation of content, webmasters have the flexibility to create websites easily.

Share tech news, updates, or what's on your mind.

Sign up to Post

Google has detected a weird new hack on my site. they sent me an email about it with a link to the page

https://www.darkstarmedia.net/2cbdc4-ffeanemopsis-de8d106--ophiuchus2081994-k307/

Now if I go to that URL, I end up at my 404 page.

but I do a google search of that link, it brings up a Japanese language search results on my site, yet clicking the link goes to a 404 page...

I check my server, it is clean,
no compromised files anywhere,
 no files changed recently,
error log has nothing to report,
 ithemes security detects nothing wrong.
 I log into worpdress, no posts or pages or anything.
All my index pages are empty
htacess is untouched
.well-known and cgi bin are empty

I did find a suspicious file 2 weeks ago and did a full security sweep, is it possible that Google is just 2 weeks late and showing that file that I cleand up 2 weeks ago?
0
Trying to get a div to slide in from the left and stick to the bottom of the page, after a 4 second delay on page load.

The div appears on page load, no delay, or slide-in effect.

html
<div id="slidebox" class="show modal">
    <!-- ACF ad url here -->
    <a href="#">
    <!-- ACF img here -->
        <img src="https://upload.wikimedia.org/wikipedia/commons/2/24/Ad-MediumRectangle-300x250.jpg" alt="-ad" width="300" height="250">
    </a>
</div><!-- /.slidebox -->

Open in new window


CSS
#slidebox.show {
  left: 0;
  -webkit-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
}
#slidebox {
  max-width: 300px;
  background-color: #fff;
  position: fixed;
  bottom: 0;
  left: -430px;
  z-index: 10;
  -webkit-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
}

.show {
  display: block;
}

Open in new window



js
jQuery(document).ready(function($) {
  setTimeout(function() {
    $('#slidebox').delay(4000).fadeIn(500);
  }, 4000); // milliseconds. set to 10 seconds.
});

Open in new window

0
Getting the following error in my js script. :  Uncaught TypeError: $ is not a function

$(document).ready(function() {
    setTimeout(function() {
      $('#data-ad-popup').modal('show');
    }, 10000); // milliseconds. set to 10 seconds.
});

Open in new window


Not sure how to fix it?
0
Hi Experts,

My new client gave me the attached PDF post as content and I am wondering how would someone do it?

If I take a snapshot and save it as image, it is too blurry.

If I use a PDF to HTML online converter I get a lot of symbols like ~~0 instead of the percents

I tried the PDF Embedder, but I get Setting up fake worker failed: "Cannot read property 'WorkerMessageHandler' of undefined".

The best was the converter, and I go line by line and edit the symbols, but the HTML is not in order as they use absolute positioning. I can do it, but I cannot help wonder if this is the proper way or if there is a better way.finra-infographic---the-financial-ch.pdf
0
Hello,

I am coding a custom Wordpress query, I want my keyword field to search post title, content and meta_queries..  The meta_query portion is working fine, but it isn't searching title and content. here is my code

$args = array (
    'post_type'			=>'resources',
    'post_status'       => 'publish',
	'posts_per_page'    => 100,
    'order'      => 'ASC',
    'search'     => '*' . esc_attr( $this_key ) . '*',
    'meta_query' => 
	
           array(
			'relation' => 'OR',
				array(
					'key'     => 'feedback',
					'value'   => $this_key,
					'compare' => 'LIKE'
				),
			array(
				'key'     => 'bfi_steps',
				'value'   => $this_key,
				'compare' => 'LIKE'
			),
			array(
				'key'     => 'agency',
				'value'   => $this_key ,
				'compare' => 'LIKE'
   				 )
		
		
	)

);

Open in new window

0
I have an xampp (Apache) server setup such that the Wordpress files are in the following directory:
htdocs/Wordpress

If I use http://localhost/wordpress the site works perfectly well
I need to be able to type in the public website address such that the original request is diverted to the Wordpress/Index.php file rather than typing http://mydomainname.com/wordpress

ie. http://www.mydomainname.com
This should then reference the Wordpress/Index.php file

Please can someone tell me how to achieve this - .htaccess?, redirect ?
I need clear instructions please as I am not familiar with the apache server setup
0
My javascript is dead in the water. I'm trying to add a slider to my page. I keep getting "

I've got the html in a html block and I can see it. Somehow I'm enqueuing my Javascript wrong, or not able to do it in stealth mode. I have no errors in the console.
Here's what I have in my functions file:

function paulschurch_child_enqueue_scripts() {
	
		$parent_style = 'generatepress-style'; // This is 'twentyfifteen-style' for the Twenty Fifteen theme.
 
    wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
    wp_enqueue_style( 'child-style',
        get_stylesheet_directory_uri() . '/style.css',
        array( $parent_style ),
        wp_get_theme()->get('Version')
    );
    wp_enqueue_style( 'lightslider', trailingslashit( get_stylesheet_directory_uri() ) . 'css/lightslider.css' );
	
	if ( is_rtl() ) {
		wp_enqueue_style( 'generatepress-rtl', trailingslashit( get_template_directory_uri() ) . 'rtl.css' );
	}
		
		wp_enqueue_script( 'lightslider', trailingslashit( get_stylesheet_directory_uri() ) . 'js/lightslider.js', array('jquery'), true );
}

add_action( 'wp_enqueue_scripts', 'paulschurch_child_enqueue_scripts', 100 );


function paulschurch_child_add_scripts() { ?>
		
		<script>
			
			(function($) {
				
	    	
	            $('#image-gallery').lightSlider({
	                gallery:true,
	                item:1,
	                thumbItem:9,
	                slideMargin: 0,
	                speed:500,
	                auto:true,
	

Open in new window

0
Hello,
When you go to page "eliesgrill.com"  you will see the below show up before the page.  Any suggestions how to remove this, and what it is?

Notice: The called constructor method for WP_Widget in cleanretina_custom_tag_widget is deprecated since version 4.3.0! Use

__construct()

instead. in /home/mediterranean1/public_html/wp-includes/functions.php on line 4404

Notice: The called constructor method for WP_Widget in cleanretina_Widget_Adsense_Ad is deprecated since version 4.3.0! Use

__construct()

instead. in /home/mediterranean1/public_html/wp-includes/functions.php on line 4404

Notice: The called constructor method for WP_Widget in cleanretina_Widget_ad_block is deprecated since version 4.3.0! Use

__construct()

instead. in /home/mediterranean1/public_html/wp-includes/functions.php on line 4404
0
Hi Experts,

In my WP, I have a custom theme, and to load FA 4.7.0 I start off as :

<!DOCTYPE html>
<?php
    $theme_url = get_theme_file_uri();
    $main_url = get_home_url();
?>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
        
        <link rel="stylesheet" id="mpc-style-css" 
              href="<?php echo $theme_url; ?>/style.css" type="text/css" media="all">
        
        <style>
            /* FONT PATH
 * -------------------------- */
@font-face {
  font-family: 'FontAwesome';
  
  src: url('<?php echo $theme_url; ?>/fonts/fontawesome-webfont.eot?v=4.7.0');
  src: url('<?php echo $theme_url; ?>/fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), 
       url('<?php echo $theme_url; ?>/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), 
       url('<?php echo $theme_url; ?>/fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), 
       url('<?php echo $theme_url; ?>/fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), 
       url('<?php echo $theme_url; ?>/fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
  
  font-weight: normal;
  font-style: normal;
}
        </style>
        
        <link rel="stylesheet" id="fa-css" 
              href="<?php echo $theme_url; ?>/font-awesome.css" type="text/css" media="all">
                
    </head>

Open in new window


Where, Lines 19-29 I moved from the original font-awesome.css just to get the path right.  This works, but as now I would like to use new icons, like fas fa-cross, I downloaded FA 5.12.0, but I don't know how to go about it and upgrade?

I see there more .css and font files, and the font-awesome.css file does not start with the src statements as the old one did.

Please note, I'm using a theme from scratch for very specific purposes, and don't want to get into why. I just need to upgrade FA

Thanks in advance.
0
I am using a Plesk control panel
I am not so familiar with this type of control panel
I Click on the domain name I want to work on
I then Click on the Wordpress link in the top right hand side of the Plesk panel
I then Click on the database tab - I see the current database name associated with this wordpress site

If I have another site in the httpdocs folder in a sub folder called wordpress2 with wordpress files
How do I associate a database with this second site

If I navigate to this site I get a error:
https://www.mainsitename.co.uk/wordpress2
"error establishing a database connection"

If I look at the database name currently associated with the site parent (If I am in the parent site - clicked on domain name) and click on the wordpress link in the top right), the associated database name is slightly different from the name in phpmyadmin
If I am in the parent site (click on domain name)  and add a database it is not being associated with anything

Sorry to be so vague but I am not sure how plesk is actually working
Help please?
0
Hi Experts,

How can I use Viewport sizing in WP, so there's only one design for desktop, mobile and tablet?

I know that this is an outdated method, but "the customer is always right."

My favorite theme is Appointment Pro that I use at www.aces-project.com, but how would I approach it with this or any other theme? The site will be similar to http://www.povardarska-eparhija.org.mk/pe/

Thank you
0
When I look at my site url in wordpress I see that when I have a category page, no matter what the middle of the url is, wordpress still loads the correct category archive based off the last folder on the url

IE:

mysite.com/category/hobbies

will return the same posts as

 mysite.com/category/gibberish/hobbies

Even thought gibberish is not a valid category on my site.

A. Is there anything to do to stop that and it should return a 404 when the middle category doesn't exist

B. Somehow the google crawler, it picking up on this problem and my site is generating duplicate categories in the link so my crawl directly is just growing exponentially. How can I stop that?

The list is showing
 mysite.com/category/hobbies
mysite.com/category/hobbies/hobbies
mysite.com/category/hobbies/hobbies/hobbies

 etc.
0
Hi guys,

I want to add a video instead of the 3 images here on the slider http://88.202.183.16/~lcseating/ to a video thats attached but keep the overlay that is going over the image at the moment to overlay the video, is that possible?
Video.mp4
0
Using Wordpress on a LAN (ip range 10.0.0.x/8) on Ubuntu 18.04. I'm trying to upload a plugin but keep getting a message that I can't because it exceeds the 2Mb file size limit as set in php.ini. What I've done up to now is to edit the htaccess file (it needed creating), the php.ini file (also needed creating) and the wp-config.php file. All the files are owned by the administrator user and have the appropriate rights - I think. chmod 777 applied across the lot. However phpinfo,php still reports the max file upload size as 2Mb, the file attached has the details outlined above. Is there anywhere else this value is being set? I've grep'ed the entire site and can't find a relevant response, it's mentioned but only as a reference.
file-upload-code.docx
0
Hi Guys,

I want to add a player to the homepage of my website here https://sunshineradio.es, basically by adding this shortcode

[lbg_audio11_html5_shoutcast settings_id='2']      

in the footer at the moment there is a player i want to remove that and add in the above shortcode.

Whats the best way to do it?
0
Hi Guys, i have a website and it got hacked. i have since hardened it up with a few different plugins, however i cant delete a user from Wordpress, it has admin roles, i have also tried deleting the user from phpmyadmin, i then notice that it reappears every few mins.

Any idea what to do?
0
I would like to create a local classified website for Japanese community in Dublin Ohio.
It is a small community and I would like to build with Word Press Classima or any other theme.
How much does it cost monthly or yearly approximately?
0
Is there a way to upload multiple files (principally images) and insert them into a data table using coldfusion, similar to what appears to b capable in Wordpress
0
Need a FREE reliable, easy to install, WordPress backup plugin.

Thanks
0
I manage a Wordpress Site with custom php code & a custom MySQL database. During the time period Jan 1. thru abut April 15, the customer offers their customers discount prices for buying a service plan during that time frame. The also require a variation on the main page slider where there an alternate image is placed inbetween each existing image where the alternate image pushes the discount pricing.

It's very straignt forward to do this, I've done it several years in a row, but I've always had to do it on Jan 1 (actually Jan 2), but it needs to go live like at 6 AM Eastern & I am in Pacific, so 3AM Pacific.

I would like to do it such that I can set it all up ahead of time & have the customer verify it's working correctly AHEAD of time, for the obvious reasons.

It occurred to me I can do the database part by having two tables, one for the normal pricing & one for discount. Then I can with custom php code make it use the discount pricing ONLY during the dates 1/1 through 4/15 OR if the user is me or the customer contact. Since no login is needed, not sure how to do that. I just thought, I can make a login needed to test the upcoming discount period, then use the alternate table if login is proper.

But how can I use a different carousel for the slider (this part all done in Wordpress) for the testing and the discount date range?

Thanks
0
I am running Amazon Linux with Apache (for a Wordpress installation) and I'd like to redirect all traffic to the "WWW" instance of my site.

So, if someone types in "sitename.com" I'd like Apache to redirect them to "www.sitename.com".

Thanks for your help
0
My site gets a cookie error in the console:

I use a plug-in called:
http://3dflipbook.net/


I decided to Inspect the page and found these errors...

===
query-migrate.min.js?ver=1.4.1:2

JQMIGRATE: Migrate is installed, version 1.4.1

A cookie associated with a cross-site resource at http://www.pagespeed-mod.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
pdf.worker.js:1

The provided value 'moz-chunked-arraybuffer' is not a valid enum value of type XMLHttpRequestResponseType.
e @ pdf.worker.js:1

====

This is a new site, but I am not promoting it yet. I have no Terms of Use, but plan to do that. I guess what I can conclude from this error is that the plug-in (mention above) uses a cookie.

What shall I do about this error? What does it mean?

Thanks
0
We have ADFS configured for authenticating an internal Wordpress site and this was working flawlessly for users to enter their credentials for login.

We were trying to enable automated logon using Windows credentials and followed the ADFS instructions at:
https://www.ibm.com/support/knowledgecenter/en/SSKTMJ_9.0.1/admin/secu_creating_the_spn.html
and then:
https://www.ibm.com/support/knowledgecenter/SSKTMJ_9.0.1/admin/secu_enabling_iwa_adfs30.html
To enable this, however following these changes we now cannot logon to the Wordpress site.

At the URL, it now provides a Windows logon prompt and entering valid credentials returns the same prompt (i.e. logon does not work).

There are events 364, 111, 238 and 1000 logged for the failed attempts:

Event 238:
The Federation Service failed to find a domain controller for the domain NT AUTHORITY.

Additional Data
Domain Name: NT AUTHORITY
Error: 1212


Event 111:
The Federation Service encountered an error while processing the WS-Trust request.
Request type: http://schemas.microsoft.com/idfx/requesttype/issue 

Additional Data
Exception details:
Microsoft.IdentityServer.Service.SecurityTokenService.ADAccountValidationException: MSIS3173: Active Directory account validation failed. ---> Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.AttributeStoreDSGetDCFailedException: Exception of type …
0
Hi Experts,

I have a customer of mine and he has a domain name with Godaddy.

But he provided contract to a developer to create his wordpress site and he told me that he does not have access to the C panel. The developer has the site running now but he is not making changes to it as per the agreement and my client wants to transfer the site to Godaddy.

My question is will Godaddy still be able to transfer the wordpress site since they are already hosting the domain. ? Also what is the process of transferring the wordpress site? what Can I check for him ?

Thank you,
0
I have the following website where I am struggling with the responsive view.

https://posc.church/

I want the other sections such as the map and service times to look like the
section that reads Everyone welcome... Also, I want the hero image to be only
150px high.

Basically, I want the content to stack evenly in the mobile view.

Can someone point me in the right direction? Thanks.
0

WordPress

WordPress is a free and open-source content management system (CMS) based on PHP and MySQL for creating websites and blogs. Features include a plugin architecture, a template system and strong management, customization and search systems; through its dynamic presentation of content, webmasters have the flexibility to create websites easily.