Tag Info

New answers tagged

1

The other question is completely wrong and should not be used previous_post() and next_post() is both depreciated functions and should not be used anymore Never replace WP_Query with query_posts to solve a problem. This actually creates more. Also, query_posts should never be used showposts is also depreciated in favor of posts_per_page To make ...


4

The HTML for the inserted internal links are generated by Javascript, so I'm not aware of any easy way to change it. The HTML generation is controlled from the wpLink.htmlUpdate method (HTML mode) and the wpLink.mceUpdate method (TinyMCE mode), in the /wp-includes/js/wplink.js file. Here are some ideas: Add a query parameter to the inserted links: We ...


-2

http://codex.wordpress.org/Next_and_Previous_Links Change your query: <?php $the_query = new WP_Query( 'showposts=5' ); ?> with this snippet: <?php $paged = (get_query_var('paged')) ?get_query_var('paged') : 1; query_posts("showposts=5&amp;paged=$paged"); ?> And then add previous and next post: <?php previous_post(); ?> / ...


1

As your links are generated by get_archives_link(), this is the place where you have to look. Doing so, by inspecting the source , you will notice that get_archives_link() - itself - doesn't give you the possibility to add a CSS class to make the highlighting happen. There is of course the filter hook get_archives_link - or see the source - which could be ...


0

Since there's no code for us to see, my best guess is that the developer is stripping out all HTML tags for the excerpt content. This is a common strategy to make sure you don't get the start of a tag without ending it. My best suggestion for you is to create a child theme and add the custom functionality you want.


2

I usually use tool like this: https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ This takes care of any serialized data and can be used to change out staging data from the entire database, not just the post content. Typically a search and replace will look like this: find = staging.site.com and replace with = www.site.com. This ...


2

WordPress is strongly opinionated about using absolute URLs. Doesn't mean it's better but it's a choice is makes. The common way to handle it is replace as necessary in database. Please note that if you run replacement on all of database it is extremely important to use serialize–aware tool, or you risk corrupting the data.


1

https://wordpress.org/support/view/plugin-reviews/google-sitemap-generator https://wordpress.org/plugins/sitetree/ You may use this plugins else you can even create a page with all pdf link to download it.



Top 50 recent answers are included