egorpromo
Forum Replies Created
-
Now it’s working. All right.
Forum: Developing with WordPress
In reply to: How to watch trackbacks and pingbacks?After tests I discover that my pings don’t work on localhost (local PC) and work perfect on real internet server.
I made tests. In my first post I wrote in links to second post. There was ping to second post even without filling the “Send Trackbacks” metafield. And in wp_posts table of mysql I see filled “pinged” field for my first post.
Also I wrote another post with “https://mysite.org/xmlrpc.php” in “Send Trackbacks” metafield. And his URL also appear in “pinged” field of wp_posts table.So pings work without “Send Trackbacks” metafield. I don’t understand why we need this metafield. And I don’t understand for what is “to_ping” field in wp_posts table of mysql database. And I don’t understand difference between “ping” and “trackback”.
Forum: Fixing WordPress
In reply to: 'the_content' filter changes output of the_excerpt() functionI’ve found one desicion
hereForum: Fixing WordPress
In reply to: Custom Post Type Archive Template Not WorkingI’ve read this topic and I can’t resolved same problem.
I have functions.php with code:add_action( 'init', 'create_zombie_post_type' ); function create_zombie_post_type() { register_post_type('zombies', array( 'label' => 'Zombies', 'public' => true, 'has_archive' =>true ) ); }
I have single template called single-zombies.php and that works.
I have archive.php template and archive-zombies.php template. I have permalinks in Custom Structer like /%postname%/. I try URL https://localhost/wordpress/zombies and It is not working because I see 404 page.
Where is my mistake? Have I problem with URL or code inside functions.php?Forum: Everything else WordPress
In reply to: Redundant verification in add_meta_box() exampleThere is no reply here and I think it is redundant. So I close my topic.
Forum: Themes and Templates
In reply to: How to use single.php file with custom post typesThanks! Your comment is right.
Forum: Themes and Templates
In reply to: How to use single.php file with custom post typesThanks for reply. Your note is very important for me now but not resolves my problem.
When I said I can’t see content, I mean any content in single.php and single-zombies.php files. That content could be the list of posts or HTML-tags or simple text. I just cant’t open that theme template files anyway. In my case I write in the single.php and single-zombies.php the simple phrases “You are reading single post” and I want to see it without any another content when I am in the page with my single custom post “zombie”.Description what I try make is here
Forum: Fixing WordPress
In reply to: What is multiwidget?Thanks. It’s clear!