ساخت وبلاگ

Posted 11 minutes ago #

This is my first time using WordPress and everything seems so complicated! I cannot find a way to make my category posts to show up the same as the posts that show up on the home page as "most recent posts". The images and the text format disappears. My "Mackinaw Island" post is supposed to look like how it does on the home page. I know the website has totally random content right now, I'm just trying to figure out WordPress right now. Please help me!
Home page: http://tofarawayplaces.com
Category page: http://tofarawayplaces.com/category/books/

Thanks in advance!

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 276 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 23:57

Thanks for the fix! The new version fixed it.

By the way, sorry to say, still a new issue came out with the very latest version just updated: I noticed it fixed the issue of the paragraphs breaking (doing a new line in a text block was not breaking the row in frontend) but now 2 new annoying issues happened:

1) The plugin is treating the output of shortcodes used in text blocks as if it is normal text in the text block. Not cool at all, as it converts new lines of the javascript in BR.
This for example, breaks the output of popupar plugins as the Revolution slider.

It wasn't happening till previous version.

Is like if a filter is added just before the code is printed, and breaks the output to new line even when is output from a shortcode.

2) BR tags added everywhere: I was writing a very simple slider plugin, all good, and was acting perfectly as shortcode in a text block of the King.
After the update (not even the latest, but the one before) I noticed spaces appearing after many tags like IMG and others.
Really, a BR tag appended to other html tags output of shortcodes.
Not very cool :)

After imprecating a while, I noticed that putting the shortcodes in a normal page without King, this wasn't happening.

The first issue seems to be solved if instead of text you put the shortcodes in a CODE block, but sometimes you don't want to do that.
The second issue, was impossible for me to solve, so for a new site I was building, I had to switch to my old composer.
Is a shame cos I was totally in love with the King... is just very very unstable at the moment...

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 389 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 23:57

Posted 2 months ago #

This plugin is an incredible waste of time!

* No accurate documentation
* No support
* All the functionalities that make it worth are on the paid version though that is never mentioned when you are checking the documentation or reading the description before installing
* It will break your site if you are using Visual Composer

There are other plugins that work, have support, for free and do exactly the same job! Don't waste your time!

Eric P
Posted 11 minutes ago #

Care to share where the "other plugins that work, have support, for free and do exactly the same job!" ???

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 279 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 23:57

Posted 11 minutes ago #

Is it possible or do you have any code that I can add that will hide the ticker if it doesn't detect any post in that specific category?

I am using it as a breaking news bar and would like to only show it when we have a post in that breaking category.


WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 300 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 22:54

I'm new to woocommerce and setting up shop selling knitting pattes as instant downloads. When I test the download links sent at purchase, however, the pages are not found. Error 404. I think this has something to do with the .htaccess file, but I don't think that is something I want to disable. I've been through my settings and documentation, but I'm clearly missing something. Any guidance would be greatly appreciated.



Edit the product and try to visit the URL of your file. Can you see it? It should either show the file or give you a 403 access denied error if protected.

When I visit the urls generated in the products (which are the same as what is being sent at purchase) I'm told that the page can't be found and it is an error 404. I can log in to my server and see that the files are where they are supposed to be, but I can't access them via the browser.

This is the link to one of my rug hooking pattes: http://www.jwrobel.com/wp-content/uploads/woocommerce_uploads/2016/05/Scotty-Dog-Rug-Hooking-Patte.pdf

Thank you!

Hi Mike,

I've sent a note to Dreamhost to look at the directory, but I can link to all the jpgs in the file. Example: http://www.jwrobel.com/wp-content/uploads/2016/04/asjearflap.jpg It is only the pdfs that seem to not be functioning. Dreamhost told me this this moing:

"Thanks for contacting DreamHost. The woocommerce uploads directory is not
meant to be accessible via a direct URL as they are protected files. This
is done via an .htaccess file rule.

jwrobel.com/blog/wp-content/uploads/woocommerce_uploads# cat .htaccess
deny from all

When someone purchases a download a special URL is generated and they can
access the file via this special URL. You can disable this by disabling
the .htaccess file in the woocommerce_uploads directory."

Where I get further confused is that the URL generated with the purchase of the download is the same as the link from my product edit view.

woocommerce_uploads is indeed inaccessible, but I cannot even see it so I don't think its readable by PHP either right now...

Posted 46 minutes ago #

Dreamhost had me disable the .htaccess file. Everything seems to be working now, but I'm not sure if there will be any unforeseen circumstances. Any that you can think of?

Thanks so much!

Files may be accessible directly, but thats hit. Make sure you get directory listing disabled so people cannot browse around.

Posted 11 minutes ago #

Is the link generated at checkout supposed to be different than what is entered in the URL field when I'm editing the product? If so, have I missed something in my settings....?

Yes - it hides the real URL.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 263 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 22:54

Kimberley Hoffman
Posted 11 minutes ago #

I would like to insert my logo into certain post and page texts (for example my business address). (I have it in my header, already… that isn't what my question is about)

How to I make sure that the logo will have the same x-height as the text?
Do I just have to link to an image from my Media file? Again, the correct size is important.

Thanks for any help.


WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 255 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 22:54


I use UWAP free version.
I was put it in the auction page via [wdm_auction_listing] and done well.
but the action good's description page is not scroll never.
I wanna know what is problem.



The page of that issue is right here . http://www.tuyl.com/?page_id=66&ult_auc_id=170

Hi magnaz99,

It seems there is some conflict with currently activated theme.

Can you please try adding below code in function wdm_auction_listing() present in ultimate-auction/auction-shortcode.php

$post_type = get_post_type();
if($post_type == 'ultimate-auction'){
echo "<style>body {overflow:visible;}</style>";

Hope this works.

Posted 39 seconds ago #

Thanks for youy reply.

I insert your code into auction-shortcode.php like this.

function wdm_auction_listing() {
// Add by magnaz99 .. 2016.05.19.
$post_type = get_post_type();
echo $post_type;
if ($post_type == 'ultimate-auction') {
<style> body { overflow:visible; } </style>

But, this is not working properly. It makes some error like this.

root@ubuntu:/var/www/html/wordpress/wp-content/plugins/ultimate-auction# php auction-shortcode.php
PHP Parse error: syntax error, unexpected '<' in /var/www/html/wordpress/wp-content/plugins/ultimate-auction/auction-shortcode.php on line 20

Please, help me more.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 301 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 21:04

You don't need to change the 'query_vars' callback name, but it wouldn't hurt. There's no reason a function cannot be named the same as a filter hook name, but I think it's slightly confusing to do so. Others probably think it is more clear, but I rarely see anyone doing it.

Please change the rewrite hook like this:

function custom_select_region() { add_rewrite_rule('^([^/]*)/([^/]*)/?','index.php?pagename=$matches[2]&region=$matches[1]','top'); add_rewrite_rule('^([^/]*)/([^/]*)/([0-9]{1,})/?','index.php?pagename=$matches[2]&region=$matches[1]&paged=$matches[3]','top');
add_action('init', 'custom_select_region', 0 );

I've come to the realization that I've been addressing little details without a good grasp of the overall situation. Time to take a step back and make sure I understand what you're trying to do as a test with the sample page.

I'm assuming you begin the test with requesting your-domain.tld/benelux/sample/

If so, checking for things in $_POST is pointless because we made a GET request. Thus get_posts() would just retu what it does by default, a page's worth of posts regardless of category. It seems to me you should be checking for $_GET['region'] on sample to get posts in the Benelux category, assuming the rewrite rules are working.

If that much works with using $_GET, then going to the next page is the next test. The link should be your-domain.tld/benelux/sample/2/, but I'm not confident that is what the next page link is pointing to. It might be missing the Benelux part.

Regardless of what the next page link is, entering your-domain.tld/benelux/sample/2/ in your browser will hopefully result in the next page of Benelux posts.

I do not see any reason to check for the 's' parameter on the sample page unless the same template is also used for the static front page of your site. (assuming the search form's action is still pointing to your site's home page)

If the front page is using the same template, you should get the region parameter from $_REQUEST['region'] so that either GET or POST requests are covered. There's a slight security issue with $_REQUEST, but it shouldn't be an issue in this context.

Now the search form itself. Does this appear on the sample page? If so, instead of trying to get the region out of the query, see if you can use $_GET['region'](or $_REQUEST['region'] on a front page template). Using the query for region should have worked, but it's more complicated. If $_GET['region'] works, it greatly simplifies things.

On whatever page loads after the form submits is where using $_POST is appropriate, like what you currently have for the sample page. However, if the page can be requested with GET, you need to use $_REQUEST['region']. $_POST['s'] is still OK because search requests will only come in via POST. Only the region parameter needs to work for both.

We will still need to get the query var part working at some point for other templates that use the main query and do not use get_posts(), but let's just focus on getting sample and the search form working first.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 272 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 21:04

Posted 8 seconds ago #


How can I add more email-tags?

There are only the basic mail-tags:

In the following fields, you can use these mail-tags:

Hope somebody know what I mean. I would be really thankful, if somebody could tell me a advice.

Thank you in advance!

Best regards, Jan


WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 284 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 21:04

When I upgrade to WP 4.5.2 I get the following message:

Headers and client library minor version mismatch. Headers:100020 Library:100113 in /home/amatolah/public_html/wp-includes/wp-db.php on line 1520

Could someone give me a few tips on how to fix please? Using FF 46.0.1


http://www.amatolahaven.co.za When I try to load the site I get a message : Content encoding error

@brianrho, this one error arrived based on plugin "visitors-traffic-real-time-statistics".

Temporary disabled or removed from plugin directory.

IF u are know about code make better condition on hear.

<b>Notice</b>: Undefined index: page_id in <b>/home/amatolah/public_html/wp-content/plugins/visitors-traffic-real-time-statistics/WPHitsCounter.php</b> on line <b>39</b>

/home/amatolah/public_html/wp-content/plugins/visitors-traffic-real-time-statistics/WPHitsCounter.php on line 39

$this->pageId = $_GET['page_id'];
Replace with and test:
if(isset($_GET['page_id']) && !empty($_GET['page_id'])): $this->pageId = $_GET['page_id'];

Posted 1 week ago #


I didnt find this line?

visitors-traffic-real-time-statistics/WPHitsCounter.php on line 39.

Where do i get this code?

$this->pageId = $_GET['page_id'];

....Please guide me to replace. Or is it replaced?


@artathanapati, this one your question?

Posted 1 week ago #

Hey Ravi,

Where should i go to add this line?

<b>Notice</b>: Undefined index: page_id in <b>/home/amatolah/public_html/wp-content/plugins/visitors-traffic-real-time-statistics/WPHitsCounter.php</b> on line <b>39</b>

before replacing

$this->pageId = $_GET['page_id'];

Replace with and test:

if(isset($_GET['page_id']) && !empty($_GET['page_id'])):
$this->pageId = $_GET['page_id'];

All ready said to u find
$this->pageId = $_GET['page_id'];

Replace above define line with my condition code.

Hi Ravi,
Thank you for your reply. I am pretty inexperienced.

Would you mind telling me what to do as simply as possible?

I have deactivated the visitors traffic plugin and the web page is now loading but still showing the error message on the front end.

Appreciate your patience.



I have seen again this one fixed please remove all cache.

Ravi patel

Posted 1 week ago #

After an update of 3fsquadronassociation.com wordpress to 4.5.2 i get numerous lines of error on the web page
aing: Invalid argument supplied for foreach() in /websites/123reg/LinuxPackage21/3f/sq/ua/3fsquadronassociation.com/public_html/wp-includes/post.php on line 1390

Any help appreciated


Posted 12 minutes ago #

@ Ravi
Worked - thanks a lot!

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 279 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 19:25

Posted 11 minutes ago #

Hi there,

I tried to login to my wordpress site and it shown me 403 Forbidden Error Page. I tried to follow method from old thread to delete the .htaccess file from root folder and the wp-admin folder but still cannot. Can somebody please help, thanks!!




WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 255 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 19:25

The behaviour you describe is currently by design. The criteria that makes the EU VAT number required takes precedence over the fact that the number may be hidden. If EU VAT number field will be: Required if user enters a company name (EU only) is enabled, and an EU customer enters a company name, then the VAT number becomes required. This applies to customers from your shop's country as well.

It might make sense to change the priority of the checks, so that when "Show EU VAT field when customer is located in base country" is not checked, then the VAT number becomes automatically "not required". I will take note of this for a future release.

In the meantime, you could configure the EU VAT Assistant as follows:
- EU VAT number field will be: Optional.
- Show EU VAT field when customer is located in base country: unchecked.

This will hide the VAT field for domestic customers, and allow other customers to enter their VAT number. If you are conceed that customers may forget to enter their VAT number, you could place it somewhere on the checkout page where it would be more prominent. You can find some information on how to do it in this thread: Move vat_number field in the edit address page.

The option "Remove VAT customer is located in base country" is not related to the display or validation of VAT numbers. The meaning of that option is that the VAT gets deducted from the orders placed by customers from your shop's base country who enter a valid VAT number. That is, if you enable that option and a customer from the Netherlands enters a valid VAT number, then VAT won't be applied to the order. This option is normally left unchecked, as VAT is usually charged to all domestic customers.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 303 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 19:25

Great! Now that I understand what you're trying to do, I *may* be able to help, as I'm doing something similar on one site, where I have a custom post type with a custom taxonomy, and for each taxonomy I want to list the post titles......I think you can modify this code to do what you want (I added some Idea to my code and I'll explain more below):

$terms = get_terms( 'retail_category', array('orderby' => 'name', 'order' => 'ASC') );

The first thing is to get all the terms in your custom taxonomy - in this part you would replace 'retail-category' with your custom taxonomy which is 'photo-gallery' - I'm sorting by name, which makes sense in your case too, but you can change the order by to whatever you like.

if ($terms) { foreach($terms as $term) { $args = array( 'post_type' => 'retail', 'posts_per_page' => -1, 'ignore_sticky_posts' => 1, 'orderby' => 'title', 'order' => 'ASC', 'tax_query' => array( array( 'taxonomy' => 'retail_category', 'field' => 'name', 'terms' => $term->name) ) );

In this section I am setting up my arguments for doing a new query (below) to find ALL (the -1) of the related custom posts fore EACH taxonomy term where the assigned taxonomy term matches (by name) the taxonomy in the FOREACH statement - my CPT is 'retail', yours is 'photos' (note: it's a better practice to name your CPTs with the singular term, not the plural, so your CPT really *should* be named 'photo' as each post is one photo, right? But honestly it's your call, you can keep it plural if you like :-) )

global $post; $myposts = new WP_Query($args); if ( $myposts->have_posts() ) { echo '<ul><li><h5 class="retailcatname">' . $term->name . '</h5><ul>';

Here is the query and if it finds posts within a term, then I'm echoing the name of the Taxonomy as a 'header' for the list of post titles that appear below it, you may not need to do this - and of course I'm using the UL and LI because mine is a real 'list'. If you don't want a header with the taxonomy term name, just leave out this echo and move right into the "while" part below.

while( $myposts->have_posts() ) : ($myposts->the_post()); echo '<li><a href="<?php the_permalink() ?>">'; echo the_title(); echo '</a></li>'; endwhile;

SO while I have matching posts for the taxonomy term, I list each and display it's title as a link (A). You can display whatever you want, the thumbnail and/or the content. NOTE THAT the "global $post" in the above section is required to access the post data.

echo '</ul></li></ul>'; } }

Closing the list....not necessary if you're not using a list.

I think if you modify this to use your custom taxonomy (photo-gallery) and custom post type (photos) and then in the section with the "while" statement just echo what you want displayed, this might work for you.

Good luck!

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 265 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 17:38

Posted 6 minutes ago #


I tried your plugin and is a great one, but have an issue in the generated pdf. I also use the latest Visual Composer, and have tabbed content on pages placed via VC. The problem is that the pdf contains the VC shortcodes, aka [vc_row][vc_column][vc_column_text].
I tried to remove the shortcodes via filtering, but this will remove the shortcode content too, and I just want to get rid of the shortcode syntaxes form the content area.
Could you help solve this issue?
Sorry that I can't provide link to the generated pdf or website, but for now is in a protected area and is not accessible for the public.

Thank you in advance,


WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 310 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 17:38

I lost a lot of time for this problem, there were two alteatives to resolve it:

1. Using the shortcodes [polylang]:

// [polylang lang="en"]English[/polylang][polylang lang="sp"]Spanish[/polylang]
function polylang_shortcode($atts, $content = null)
{ if (empty($content)) retu ''; extract( shortcode_atts( array('lang' => ''), $atts ) ); if (empty($lang)) retu "<h3>You must specify 'lang' using shortcode: polylang</h3>"; retu ($lang == pll_current_language()) ? $content : '';
add_shortcode('polylang', 'polylang_shortcode');

Refer: https://wordpress.org/support/topic/polylang-shortcode-like-qtranslate-for-theme-options-and-text?replies=19

This trick saved me many times, I think that the developers should integrate it.

Unfortunately in many fields of this theme I can't use shortcodes, so I could not use this trick.

2. Using php code, and I resolved in this way, so I had to edit the php file of theme section:

<?php $url = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; // get current url if (false !== strpos($url,'/en/')) { // if in url I find the string /en/ echo 'eng'; } elseif (false !== strpos($url,'/it/')) { // if in url I find the string /it/ echo 'ita'; } ?>

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 336 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 17:38

Posted 10 minutes ago #

Hi there!

I have a big problem with Yith Zoom Magnifier.

The thumbnail slider not working. What is the problem? The pictures

Thanks for help.


WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 279 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 16:26

Posted 9 hours ago #

Hey Optin Formers,

I can get forms to pop up using the shortcode, but they won't show up using the "form placement" feature. Form placement is currently set to "after the post" and "after the page", but nothing is showing up.

Here's what I've done so far:
1) Disabled caching (via CloudFlare)
2) Uninstalled and reinstalled Optin Forms

No luck yet. Here's a link to a page and a blog post, where a form should be on the bottom. Any thoughts?

Appreciate anyone's time looking into this. :)


We just updated the plugin to address this issue. If you're still having problems, please let us know right away. Thanks!

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 286 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 16:26

Is there any way to set the default tax status to None?

In my store of about 800 products, only 50-80 are taxable. Having to manually set 95% of my products to non taxable is frustrating. While searching I did not find any solutions to this use case, surely I can not be the only WooCommerce user who has this tax status issue.

Thanks in advance to anyone who can help.


I assume you forgot to do this during your initial import?

It could be done with an import plugin which supports merge (product Csv import suite) or you could write an SQL query to bulk update the meta values... this is more advanced but can work.

There is also a bulk update option in the products screen, backend. But you'd have to do X per page. Screen options tab in the top right can show more products, but don't increase too high as you may run out of memory.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 269 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 16:26

Thank you. More payment gateways would be great and that + mobile compatibility would IMHO make your plugin one of the best membership solutions for WordPress out there right now.

I've tried the checkout on an iPhone 6+, a Samsung Galaxy S7 and an iPad Air 2 (in portrait mode to simulate a cell phone view) and it's all the same.

This is a screenshot of my phone when you click the PayPal button:


You can resize your browser to see how illegible it is at that size.

Note how different the PayPal checkout screen looks when you click the PayPal checkout button on this page, which uses the WP Shopping Cart plugin:


THAT is the link to the truly responsive PayPal checkout, and doesn't require PayPal on mobile checkout.


Maybe you can compare the code of that plugin to yours and see what they do differently that makes theirs responsive and not yours? Might that help?

Otherwise, I really hate to say it, but I'm going to have to uninstall yours and use a membership solution, because over half of my traffic is coming from mobile right now and this is without a doubt costing me a LOT of money. I really like Simple Membership, and I've purchased add-ons, so I don't want to have to do that.

Thanks in advance for your help.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 289 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 15:07

Posted 22 hours ago #


I have a lot of subscribers.
In the past they only got 1 automated e-mail.

Now I want them to receive new e-mails but scheduled ones.

If I create a new e-mail and schedule this one after 2 weeks after subscription, will all existing subscribers receive this e-mail after 2 weeks from the moment I create the newsletter? Or will they get the e-mail immediately?

Can't figure this out. Hope you can provide a clear answer!




On the third step of the newsletter designer, you can choose to ignore the current subscribers.

If you click ignore, they will not receive the newsletter at all. If you click don't ignore, they will receive the newsletter immediately.

The easiest solution, though, is to just create an entirely new list with the new newsletters, then move all of the subscribers to that list at one time.

Does that make sense?

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 248 تاريخ : جمعه 31 ارديبهشت 1395 ساعت: 15:07